public class CheckstyleScannerPlugin extends com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource,CheckstyleReportDescriptor>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JQASSISTANT_PLUGIN_CHECKSTYLE_BASEPACKAGE |
static java.lang.String |
JQASSISTANT_PLUGIN_CHECKSTYLE_DIRNAME |
static java.lang.String |
JQASSISTANT_PLUGIN_CHECKSTYLE_FILENAME |
| Constructor and Description |
|---|
CheckstyleScannerPlugin() |
| 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() |
protected java.lang.String |
convertToFullQualifiedName(java.lang.String name) |
CheckstyleReportDescriptor |
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 CheckstyleType |
unmarshalCheckstyleXml(java.io.InputStream streamSource) |
public static final java.lang.String JQASSISTANT_PLUGIN_CHECKSTYLE_BASEPACKAGE
public static final java.lang.String JQASSISTANT_PLUGIN_CHECKSTYLE_FILENAME
public static final java.lang.String JQASSISTANT_PLUGIN_CHECKSTYLE_DIRNAME
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 CheckstyleReportDescriptor 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 convertToFullQualifiedName(java.lang.String name)
protected java.lang.String truncateName(java.lang.String name)
protected CheckstyleType unmarshalCheckstyleXml(java.io.InputStream streamSource) throws java.io.IOException
java.io.IOExceptionprotected void configure()
configure in class com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource,CheckstyleReportDescriptor>