com.liferay.portal.kernel.deploy.auto
Class AutoDeployDir

java.lang.Object
  extended by com.liferay.portal.kernel.deploy.auto.AutoDeployDir

public class AutoDeployDir
extends java.lang.Object

View Source

Author:
Ivica Cardic, Brian Wing Shun Chan

Field Summary
static java.lang.String DEFAULT_NAME
           
 
Constructor Summary
AutoDeployDir(java.lang.String name, java.io.File deployDir, java.io.File destDir, long interval, int blacklistThreshold, java.util.List<AutoDeployListener> listeners)
           
 
Method Summary
 int getBlacklistThreshold()
           
 java.io.File getDeployDir()
           
 java.io.File getDestDir()
           
 long getInterval()
           
 java.util.List<AutoDeployListener> getListeners()
           
 java.lang.String getName()
           
protected  void processFile(java.io.File file)
           
 void registerListener(AutoDeployListener listener)
           
protected  void scanDirectory()
           
 void start()
           
 void stop()
           
 void unregisterListener(AutoDeployListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_NAME

public static final java.lang.String DEFAULT_NAME
See Also:
Constant Field Values
Constructor Detail

AutoDeployDir

public AutoDeployDir(java.lang.String name,
                     java.io.File deployDir,
                     java.io.File destDir,
                     long interval,
                     int blacklistThreshold,
                     java.util.List<AutoDeployListener> listeners)
Method Detail

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 listener)

processFile

protected void processFile(java.io.File file)

scanDirectory

protected void scanDirectory()