Class JacocoScannerPlugin

  • All Implemented Interfaces:
    com.buschmais.jqassistant.core.scanner.api.ScannerPlugin<com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource,​JacocoReportDescriptor>, com.buschmais.jqassistant.core.shared.lifecycle.ContextualConfigurableLifecycleAware<com.buschmais.jqassistant.core.scanner.api.ScannerContext,​java.util.Map<java.lang.String,​java.lang.Object>>, com.buschmais.jqassistant.core.shared.lifecycle.LifecycleAware

    public class JacocoScannerPlugin
    extends com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource,​JacocoReportDescriptor>
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface com.buschmais.jqassistant.core.scanner.api.ScannerPlugin

        com.buschmais.jqassistant.core.scanner.api.ScannerPlugin.Requires
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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()  
      JacocoReportDescriptor 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 ReportType unmarshalJacocoXml​(java.io.InputStream streamSource)  
      • Methods inherited from class com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin

        configure, equals, getBooleanProperty, getDescriptorType, getDirectoryPath, getName, getProperties, getProperty, getScannerContext, getStringProperty, getType, getTypeParameter, hashCode
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.buschmais.jqassistant.core.scanner.api.ScannerPlugin

        destroy, initialize
    • Field Detail

      • JQASSISTANT_PLUGIN_JACOCO_FILENAME

        public static final java.lang.String JQASSISTANT_PLUGIN_JACOCO_FILENAME
        See Also:
        Constant Field Values
      • JQASSISTANT_PLUGIN_JACOCO_DIRNAME

        public static final java.lang.String JQASSISTANT_PLUGIN_JACOCO_DIRNAME
        See Also:
        Constant Field Values
    • Constructor Detail

      • JacocoScannerPlugin

        public JacocoScannerPlugin()
    • Method Detail

      • configure

        protected void configure()
        Overrides:
        configure in class com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<com.buschmais.jqassistant.plugin.common.api.scanner.filesystem.FileResource,​JacocoReportDescriptor>
      • accepts

        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)
      • scan

        public JacocoReportDescriptor 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
        Throws:
        java.io.IOException
      • unmarshalJacocoXml

        protected ReportType unmarshalJacocoXml​(java.io.InputStream streamSource)
                                         throws java.io.IOException
        Throws:
        java.io.IOException