| Constructor and Description |
|---|
ForwardingScanner(Scanner delegate) |
| Modifier and Type | Method and Description |
|---|---|
Collection<DeploymentUnit> |
getDeploymentUnits()
Gets all deployment units currently being tracked by the scanner.
|
void |
remove(DeploymentUnit unit)
Remove the specified deployment unit in such a way as it will not be picked up by subsequent scans, even
if the system is restarted.
|
void |
reset()
Reset the scanner.
|
Collection<DeploymentUnit> |
scan()
Scan for new deployment units.
|
public ForwardingScanner(Scanner delegate)
public Collection<DeploymentUnit> scan()
Scannerpublic Collection<DeploymentUnit> getDeploymentUnits()
ScannergetDeploymentUnits in interface Scannerpublic void reset()
Scannerpublic void remove(DeploymentUnit unit) throws PluginException
Scannerremove in interface Scannerunit - the deployment unit to removePluginException - if the unit has not been properly removed: i.e. a restart would mean the unit would
be reloaded.Copyright © 2018 Atlassian. All rights reserved.