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