org.apache.tools.ant.taskdefs.optional.j2eeInterface HotDeploymentTool
- All Known Implementing Classes:
- AbstractHotDeploymentTool, GenericHotDeploymentTool, JonasHotDeploymentTool, WebLogicHotDeploymentTool
public interface HotDeploymentTool
An interface for vendor-specific "hot" deployment tools.
- See Also:
AbstractHotDeploymentTool
,ServerDeploy
Field Summary
Fields Modifier and Type Field and Description static java.lang.String
ACTION_DELETE
The delete action Stringstatic java.lang.String
ACTION_DEPLOY
The deploy action Stringstatic java.lang.String
ACTION_LIST
The list action Stringstatic java.lang.String
ACTION_UNDEPLOY
The undeploy action Stringstatic java.lang.String
ACTION_UPDATE
The update action String
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method and Description void
deploy()
Perform the actual deployment.void
setTask(ServerDeploy task)
Sets the parent task.void
validateAttributes()
Validates the passed in attributes.
Field Detail
ACTION_DELETE
static final java.lang.String ACTION_DELETEThe delete action String
- See Also:
- Constant Field Values
ACTION_DEPLOY
static final java.lang.String ACTION_DEPLOYThe deploy action String
- See Also:
- Constant Field Values
ACTION_LIST
static final java.lang.String ACTION_LISTThe list action String
- See Also:
- Constant Field Values
ACTION_UNDEPLOY
static final java.lang.String ACTION_UNDEPLOYThe undeploy action String
- See Also:
- Constant Field Values
ACTION_UPDATE
static final java.lang.String ACTION_UPDATEThe update action String
- See Also:
- Constant Field Values
Method Detail
validateAttributes
void validateAttributes() throws BuildExceptionValidates the passed in attributes.
- Throws:
BuildException
- if the attributes are invalid or incomplete.
deploy
void deploy() throws BuildExceptionPerform the actual deployment.
- Throws:
BuildException
- if the attributes are invalid or incomplete.
setTask
void setTask(ServerDeploy task)Sets the parent task.
- Parameters:
task
- A ServerDeploy object representing the parent task.