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
static StringACTION_DELETE
The delete action String *
static StringACTION_DEPLOY
The deploy action String *
static StringACTION_LIST
The list action String *
static StringACTION_UNDEPLOY
The undeploy action String *
static 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 static final String ACTION_DELETE
The delete action String *

ACTION_DEPLOY

public static final String ACTION_DEPLOY
The deploy action String *

ACTION_LIST

public static final String ACTION_LIST
The list action String *

ACTION_UNDEPLOY

public static final String ACTION_UNDEPLOY
The undeploy action String *

ACTION_UPDATE

public static final 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.

Copyright B) 2000-2007 Apache Software Foundation. All Rights Reserved.