|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.plugin.loaders.classloading.Scanner
public class Scanner
Scans the filesystem for changed or added plugin jars and stores a map of the currently known ones.
| Constructor Summary | |
|---|---|
Scanner(java.io.File libDir)
Constructor for scanner. |
|
| Method Summary | |
|---|---|
void |
clear(java.io.File file)
Tells the Scanner to forget about a file it has loaded so that it will reload it next time it scans. |
void |
clearAll()
Clears the list of scanned deployment units. |
java.util.Collection |
getDeploymentUnits()
Retrieve all the DeploymentUnits currently stored. |
DeploymentUnit |
locateDeploymentUnit(java.io.File file)
Given a file, finds the deployment unit for it if one has already been scanned. |
java.util.Collection |
scan()
Scans for jars that have been added or modified since the last call to scan. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Scanner(java.io.File libDir)
libDir - | Method Detail |
|---|
public DeploymentUnit locateDeploymentUnit(java.io.File file)
file - a jar file.
public void clear(java.io.File file)
file - a file that may have already been scanned.public java.util.Collection scan()
DeploymentUnits that describe newly added Jars.public java.util.Collection getDeploymentUnits()
DeploymentUnits currently stored.
DeploymentUnits.public void clearAll()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||