|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.codehaus.enunciate.modules.BasicDeploymentModule
public class BasicDeploymentModule
Basic stub for a deployment module. Provides methods for each step.
| Field Summary | |
|---|---|
protected Enunciate |
enunciate
|
| Constructor Summary | |
|---|---|
BasicDeploymentModule()
|
|
| Method Summary | |
|---|---|
void |
close()
Default implementation is a no-op. |
void |
debug(java.lang.String message,
java.lang.Object... formatArgs)
Handle a debug-level message. |
protected void |
doBuild()
Default implementation is a no-op. |
protected void |
doCompile()
Default implementation is a no-op. |
protected void |
doGenerate()
Default implementation is a no-op. |
protected void |
doPackage()
Default implementation is a no-op. |
java.util.Set<java.lang.String> |
getAliases()
The aliases (modifiable). |
java.io.File |
getBuildDir()
The build directory for this module. |
java.io.File |
getCompileDir()
The compile directory for this module. |
org.apache.commons.digester.RuleSet |
getConfigurationRules()
Default implementation returns null. |
Enunciate |
getEnunciate()
The enunciate mechanism. |
java.io.File |
getGenerateDir()
The generate directory for this module. |
java.lang.String |
getName()
The name of the deployment module. |
int |
getOrder()
The order of execution for the deployment module. |
java.io.File |
getPackageDir()
The package directory for this module. |
Validator |
getValidator()
Get the validator for this module, or null if none. |
void |
info(java.lang.String message,
java.lang.Object... formatArgs)
Handle an info-level message. |
void |
init(Enunciate enunciate)
Sets the enunciate mechanism. |
boolean |
isDisabled()
Whether this deployment module has been disabled, e.g. |
void |
setBuildDir(java.io.File buildDir)
Set the build dir for this module. |
void |
setCompileDir(java.io.File compileDir)
Set the compile dir for this module. |
void |
setDisabled(boolean disabled)
Disable (or enable) this deployment module. |
void |
setGenerateDir(java.io.File generateDir)
Set the generate dir for this module. |
void |
setPackageDir(java.io.File packageDir)
Set the package dir for this module. |
void |
step(Enunciate.Target target)
Calls the step methods as necessary. |
void |
warn(java.lang.String message,
java.lang.Object... formatArgs)
Handle a warn-level message. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Enunciate enunciate
| Constructor Detail |
|---|
public BasicDeploymentModule()
| Method Detail |
|---|
public java.lang.String getName()
DeploymentModule
getName in interface DeploymentModulepublic java.util.Set<java.lang.String> getAliases()
getAliases in interface DeploymentModulepublic Validator getValidator()
DeploymentModule
getValidator in interface DeploymentModulepublic boolean isDisabled()
DeploymentModule
isDisabled in interface DeploymentModulepublic void setDisabled(boolean disabled)
disabled - true to disable, false to enable.
public void init(Enunciate enunciate)
throws EnunciateException
init in interface DeploymentModuleenunciate - The enunciate mechanism.
EnunciateExceptionpublic Enunciate getEnunciate()
public void step(Enunciate.Target target)
throws EnunciateException,
java.io.IOException
step in interface DeploymentModuletarget - The step.
EnunciateException
java.io.IOException
protected void doGenerate()
throws EnunciateException,
java.io.IOException
EnunciateException
java.io.IOException
protected void doBuild()
throws EnunciateException,
java.io.IOException
EnunciateException
java.io.IOException
protected void doCompile()
throws EnunciateException,
java.io.IOException
EnunciateException
java.io.IOException
protected void doPackage()
throws EnunciateException,
java.io.IOException
EnunciateException
java.io.IOException
public void close()
throws EnunciateException
close in interface DeploymentModuleEnunciateExceptionpublic org.apache.commons.digester.RuleSet getConfigurationRules()
getConfigurationRules in interface DeploymentModulepublic int getOrder()
DeploymentModule
getOrder in interface DeploymentModulepublic java.io.File getGenerateDir()
public void setGenerateDir(java.io.File generateDir)
generateDir - The generate dir for this module.public java.io.File getCompileDir()
public void setCompileDir(java.io.File compileDir)
compileDir - The compile dir for this module.public java.io.File getBuildDir()
public void setBuildDir(java.io.File buildDir)
buildDir - The build dir for this module.public java.io.File getPackageDir()
public void setPackageDir(java.io.File packageDir)
packageDir - The package dir for this module.
public void info(java.lang.String message,
java.lang.Object... formatArgs)
message - The info message.formatArgs - The format args of the message.
public void debug(java.lang.String message,
java.lang.Object... formatArgs)
message - The debug message.formatArgs - The format args of the message.
public void warn(java.lang.String message,
java.lang.Object... formatArgs)
message - The warn message.formatArgs - The format args of the message.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||