public class AutoDeployDir
extends Object
Modifier and Type | Field and Description |
---|---|
static String |
DEFAULT_NAME |
Constructor and Description |
---|
AutoDeployDir(String name,
File deployDir,
long interval) |
Modifier and Type | Method and Description |
---|---|
protected AutoDeploymentContext |
buildAutoDeploymentContext(File file) |
static void |
deploy(AutoDeploymentContext autoDeploymentContext) |
File |
getDeployDir() |
long |
getInterval() |
String |
getName() |
protected void |
processFile(File file) |
protected void |
scanDirectory() |
void |
start() |
void |
stop() |
public static final String DEFAULT_NAME
public static void deploy(AutoDeploymentContext autoDeploymentContext) throws AutoDeployException
AutoDeployException
public File getDeployDir()
public long getInterval()
public String getName()
public void start()
public void stop()
protected AutoDeploymentContext buildAutoDeploymentContext(File file)
protected void processFile(File file)
protected void scanDirectory()