org.apache.tools.ant.taskdefs.optional.j2ee

Interface HotDeploymentTool

public interface HotDeploymentTool

An interface for vendor-specific "hot" deployment tools.

See Also: AbstractHotDeploymentTool ServerDeploy

Field Summary
StringACTION_DELETE
The delete action String *
StringACTION_DEPLOY
The deploy action String *
StringACTION_LIST
The list action String *
StringACTION_UNDEPLOY
The undeploy action String *
StringACTION_UPDATE
The update action String *
Method Summary
voiddeploy()
Perform the actual deployment.
voidsetTask(ServerDeploy task)
Sets the parent task.
voidvalidateAttributes()
Validates the passed in attributes.

Field Detail

ACTION_DELETE

public String ACTION_DELETE
The delete action String *

ACTION_DEPLOY

public String ACTION_DEPLOY
The deploy action String *

ACTION_LIST

public String ACTION_LIST
The list action String *

ACTION_UNDEPLOY

public String ACTION_UNDEPLOY
The undeploy action String *

ACTION_UPDATE

public String ACTION_UPDATE
The update action String *

Method Detail

deploy

public void deploy()
Perform the actual deployment.

Throws: org.apache.tools.ant.BuildException if the attributes are invalid or incomplete.

setTask

public void setTask(ServerDeploy task)
Sets the parent task.

Parameters: task A ServerDeploy object representing the parent task.

validateAttributes

public void validateAttributes()
Validates the passed in attributes.

Throws: org.apache.tools.ant.BuildException if the attributes are invalid or incomplete.