public class DirectoryScannerPlugin extends AbstractDirectoryScannerPlugin<DirectoryDescriptor>
| Constructor and Description |
|---|
DirectoryScannerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
enterContainer(File directory,
DirectoryDescriptor directoryDescriptor,
com.buschmais.jqassistant.core.scanner.api.ScannerContext scannerContext)
<p>Create a scope depending on the container type, e.g. a JAR file should
return classpath scope.
|
protected DirectoryDescriptor |
getContainerDescriptor(File container,
com.buschmais.jqassistant.core.scanner.api.ScannerContext scannerContext)
<p>Return the descriptor representing the artifact.
|
protected com.buschmais.jqassistant.core.scanner.api.Scope |
getRequiredScope()
<p>Return the scope the plugin expects for execution.
|
protected void |
leaveContainer(File directory,
DirectoryDescriptor directoryDescriptor,
com.buschmais.jqassistant.core.scanner.api.ScannerContext scannerContext)
<p>Destroy the container dependent scope.
|
accepts, getContainerPath, getDescriptorType, getEntries, getEntry, getRelativePath, getTypescanconfigure, configure, equals, getBooleanProperty, getDirectoryPath, getName, getProperties, getProperty, getScannerContext, getStringProperty, getTypeParameter, hashCodeprotected com.buschmais.jqassistant.core.scanner.api.Scope getRequiredScope()
AbstractDirectoryScannerPlugin<p>Return the scope the plugin expects for execution.</p>
getRequiredScope in class AbstractDirectoryScannerPlugin<DirectoryDescriptor>protected DirectoryDescriptor getContainerDescriptor(File container, com.buschmais.jqassistant.core.scanner.api.ScannerContext scannerContext)
AbstractContainerScannerPlugin<p>Return the descriptor representing the artifact.</p>
getContainerDescriptor in class AbstractContainerScannerPlugin<File,File,DirectoryDescriptor>container - The container.scannerContext - The scanner context.protected void enterContainer(File directory, DirectoryDescriptor directoryDescriptor, com.buschmais.jqassistant.core.scanner.api.ScannerContext scannerContext)
AbstractContainerScannerPlugin<p>Create a scope depending on the container type, e.g. a JAR file should return classpath scope.</p>
enterContainer in class AbstractContainerScannerPlugin<File,File,DirectoryDescriptor>directory - The container.directoryDescriptor - The container descriptor.scannerContext - The scanner context.protected void leaveContainer(File directory, DirectoryDescriptor directoryDescriptor, com.buschmais.jqassistant.core.scanner.api.ScannerContext scannerContext)
AbstractContainerScannerPlugin<p>Destroy the container dependent scope.</p>
leaveContainer in class AbstractContainerScannerPlugin<File,File,DirectoryDescriptor>directory - The container.directoryDescriptor - The container descriptorscannerContext - The scanner context.Copyright © 2016–2021 jQAssistant Development Team. All rights reserved.