Class ZipScannerPlugin
java.lang.Object
com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin<FileResource,D>
com.buschmais.jqassistant.plugin.common.api.scanner.AbstractZipArchiveScannerPlugin<ZipArchiveDescriptor>
com.buschmais.jqassistant.plugin.common.impl.scanner.ZipScannerPlugin
- All Implemented Interfaces:
ScannerPlugin<FileResource,,ZipArchiveDescriptor> com.buschmais.jqassistant.core.shared.lifecycle.ContextualConfigurableLifecycleAware<ScannerContext,,Map<String, Object>> com.buschmais.jqassistant.core.shared.lifecycle.LifecycleAware
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.buschmais.jqassistant.core.scanner.api.ScannerPlugin
ScannerPlugin.Requires -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ScopecreateScope(Scope currentScope, ZipArchiveDescriptor archiveDescriptor, ScannerContext context) Create a scope depending of the archive type.protected voiddestroyScope(ScannerContext scannerContext) Destroy the scope.protected StringReturn the file extension to match.Methods inherited from class com.buschmais.jqassistant.plugin.common.api.scanner.AbstractZipArchiveScannerPlugin
accepts, getDescriptorType, getType, scanMethods inherited from class com.buschmais.jqassistant.plugin.common.api.scanner.AbstractScannerPlugin
configure, configure, equals, getBooleanProperty, getDirectoryPath, getName, getProperties, getProperty, getScannerContext, getStringProperty, getTypeParameter, hashCodeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.buschmais.jqassistant.core.scanner.api.ScannerPlugin
destroy, initialize
-
Constructor Details
-
ZipScannerPlugin
public ZipScannerPlugin()
-
-
Method Details
-
getExtension
Description copied from class:AbstractZipArchiveScannerPluginReturn the file extension to match.- Specified by:
getExtensionin classAbstractZipArchiveScannerPlugin<ZipArchiveDescriptor>- Returns:
- The file extension
-
createScope
protected Scope createScope(Scope currentScope, ZipArchiveDescriptor archiveDescriptor, ScannerContext context) Description copied from class:AbstractZipArchiveScannerPluginCreate a scope depending of the archive type.- Specified by:
createScopein classAbstractZipArchiveScannerPlugin<ZipArchiveDescriptor>- Parameters:
currentScope- The current scope.archiveDescriptor- The created archive descriptor.context- The scanner context- Returns:
- The new scope.
-
destroyScope
Description copied from class:AbstractZipArchiveScannerPluginDestroy the scope.- Specified by:
destroyScopein classAbstractZipArchiveScannerPlugin<ZipArchiveDescriptor>- Parameters:
scannerContext- The scanner context
-