com.liferay.portal.kernel.deploy.auto
Class AutoDeployDir
java.lang.Object
com.liferay.portal.kernel.deploy.auto.AutoDeployDir
public class AutoDeployDir
- extends java.lang.Object
View Source
- Author:
- Ivica Cardic, Brian Wing Shun Chan
Constructor Summary |
AutoDeployDir(java.lang.String name,
java.io.File deployDir,
java.io.File destDir,
long interval,
int blacklistThreshold,
java.util.List<AutoDeployListener> autoDeployListeners)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_NAME
public static final java.lang.String DEFAULT_NAME
- See Also:
- Constant Field Values
AutoDeployDir
public AutoDeployDir(java.lang.String name,
java.io.File deployDir,
java.io.File destDir,
long interval,
int blacklistThreshold,
java.util.List<AutoDeployListener> autoDeployListeners)
getBlacklistThreshold
public int getBlacklistThreshold()
getDeployDir
public java.io.File getDeployDir()
getDestDir
public java.io.File getDestDir()
getInterval
public long getInterval()
getListeners
public java.util.List<AutoDeployListener> getListeners()
getName
public java.lang.String getName()
registerListener
public void registerListener(AutoDeployListener listener)
start
public void start()
stop
public void stop()
unregisterListener
public void unregisterListener(AutoDeployListener autoDeployListener)
processFile
protected void processFile(java.io.File file)
scanDirectory
protected void scanDirectory()