public class PmdReportScannerPlugin extends com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource,PmdReportDescriptor>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JQASSISTANT_PLUGIN_PMD_DIRNAME |
static java.lang.String |
JQASSISTANT_PLUGIN_PMD_FILENAME |
| Constructor and Description |
|---|
PmdReportScannerPlugin() |
| 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 |
configure() |
PmdReportDescriptor |
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 java.lang.String |
truncateName(java.lang.String name) |
protected PmdType |
unmarshalPmdXml(java.io.InputStream streamSource) |
public static final java.lang.String JQASSISTANT_PLUGIN_PMD_FILENAME
public static final java.lang.String JQASSISTANT_PLUGIN_PMD_DIRNAME
protected void configure()
configure in class com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource,PmdReportDescriptor>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)
throws java.io.IOException
java.io.IOExceptionpublic PmdReportDescriptor 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 java.lang.String truncateName(java.lang.String name)
protected PmdType unmarshalPmdXml(java.io.InputStream streamSource) throws java.io.IOException
java.io.IOException