public class SpotBugsScannerPlugin extends com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource,SpotBugsReportDescriptor>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JQASSISTANT_PLUGIN_SPOTBUGS_DIRNAME |
static java.lang.String |
JQASSISTANT_PLUGIN_SPOTBUGS_FILENAME |
| Constructor and Description |
|---|
SpotBugsScannerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accepts(com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource item,
java.lang.String path,
com.buschmais.jqassistant.core.scanner.api.Scope scope) |
protected void |
addBugInstancesToFindBugsDescriptor(com.buschmais.jqassistant.core.store.api.Store store,
BugCollectionType bugCollectionType,
SpotBugsReportDescriptor spotBugsReportDescriptor) |
protected void |
configure() |
SpotBugsReportDescriptor |
scan(com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource file,
java.lang.String path,
com.buschmais.jqassistant.core.scanner.api.Scope scope,
com.buschmais.jqassistant.core.scanner.api.Scanner scanner) |
protected BugCollectionType |
unmarshalSpotBugsXml(java.io.InputStream streamSource) |
protected void |
writeFindBugsDescriptor(java.lang.String path,
BugCollectionType bugCollectionType,
SpotBugsReportDescriptor spotBugsReportDescriptor) |
configure, equals, getBooleanProperty, getDescriptorType, getDirectoryPath, getName, getProperties, getProperty, getScannerContext, getStringProperty, getType, getTypeParameter, hashCodepublic static final java.lang.String JQASSISTANT_PLUGIN_SPOTBUGS_FILENAME
public static final java.lang.String JQASSISTANT_PLUGIN_SPOTBUGS_DIRNAME
protected void configure()
configure in class com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource,SpotBugsReportDescriptor>public boolean accepts(com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource item,
java.lang.String path,
com.buschmais.jqassistant.core.scanner.api.Scope scope)
public SpotBugsReportDescriptor scan(com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource file, java.lang.String path, com.buschmais.jqassistant.core.scanner.api.Scope scope, com.buschmais.jqassistant.core.scanner.api.Scanner scanner) throws java.io.IOException
java.io.IOExceptionprotected BugCollectionType unmarshalSpotBugsXml(java.io.InputStream streamSource) throws java.io.IOException
java.io.IOExceptionprotected void addBugInstancesToFindBugsDescriptor(com.buschmais.jqassistant.core.store.api.Store store,
BugCollectionType bugCollectionType,
SpotBugsReportDescriptor spotBugsReportDescriptor)
protected void writeFindBugsDescriptor(java.lang.String path,
BugCollectionType bugCollectionType,
SpotBugsReportDescriptor spotBugsReportDescriptor)