com.atlassian.confluence.plugin
Class DatabasePluginScanner

java.lang.Object
  extended by com.atlassian.confluence.plugin.DatabasePluginScanner
All Implemented Interfaces:
Scanner

public class DatabasePluginScanner
extends Object
implements Scanner

Scans the database for plugin data.


Field Summary
static org.apache.log4j.Logger log
           
 
Constructor Summary
DatabasePluginScanner(PluginDataDao pluginDataDao, File workDir)
           
 
Method Summary
 Collection<DeploymentUnit> getDeploymentUnits()
           
 void remove(DeploymentUnit deploymentUnit)
           
 void reset()
           
 Collection<DeploymentUnit> scan()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

public static final org.apache.log4j.Logger log
Constructor Detail

DatabasePluginScanner

public DatabasePluginScanner(PluginDataDao pluginDataDao,
                             File workDir)
Method Detail

scan

public Collection<DeploymentUnit> scan()
Specified by:
scan in interface Scanner

getDeploymentUnits

public Collection<DeploymentUnit> getDeploymentUnits()
Specified by:
getDeploymentUnits in interface Scanner

reset

public void reset()
Specified by:
reset in interface Scanner

remove

public void remove(DeploymentUnit deploymentUnit)
            throws PluginException
Specified by:
remove in interface Scanner
Throws:
PluginException


Confluence is developed by Atlassian Pty Ltd.