|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.loaders.FileListScanner
public class FileListScanner
A scanner that simply scans a given set of input files. This scanner will always return the units in the order supplied in the constructor.
| Constructor Summary | |
|---|---|
FileListScanner(Collection<File> files)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public FileListScanner(Collection<File> files)
| Method Detail |
|---|
public Collection<DeploymentUnit> scan()
Scanner
scan in interface Scannerpublic Collection<DeploymentUnit> getDeploymentUnits()
Scanner
getDeploymentUnits in interface Scannerpublic void reset()
Scanner
reset in interface Scanner
public void remove(DeploymentUnit unit)
throws PluginException
Scanner
remove in interface Scannerunit - the deployment unit to remove
PluginException - if the unit has not been properly removed: i.e. a restart would mean the unit would
be reloaded.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||