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

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)
           
protected  void scanDirectory()
           
 void start()
           
 void stop()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

getName

public java.lang.String getName()

getDeployDir

public java.io.File getDeployDir()

getDestDir

public java.io.File getDestDir()

getInterval

public long getInterval()

getBlacklistThreshold

public int getBlacklistThreshold()

getListeners

public java.util.List<AutoDeployListener> getListeners()

start

public void start()

stop

public void stop()

scanDirectory

protected void scanDirectory()

processFile

protected void processFile(java.io.File file)