Top Description Fields Methods
org.apache.tools.ant.taskdefs.optional.j2ee

public Interface HotDeploymentTool

Known Direct Implementers
org.apache.tools.ant.taskdefs.optional.j2ee.JonasHotDeploymentTool, org.apache.tools.ant.taskdefs.optional.j2ee.WebLogicHotDeploymentTool, org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool
Imports
org.apache.tools.ant.BuildException

An interface for vendor-specific "hot" deployment tools.
See Also
org.apache.tools.ant.taskdefs.optional.j2ee.AbstractHotDeploymentTool, org.apache.tools.ant.taskdefs.optional.j2ee.ServerDeploy

Field Summary

Modifier and TypeField and Description
public static final String
ACTION_DELETE

The delete action String

public static final String
ACTION_DEPLOY

The deploy action String

public static final String
ACTION_LIST

The list action String

public static final String
ACTION_UNDEPLOY

The undeploy action String

public static final String
ACTION_UPDATE

The update action String

Method Summary

Modifier and TypeMethod and Description
public void
deploy()

Perform the actual deployment.

public void
setTask(ServerDeploy
A ServerDeploy object representing the parent task.
task
)

Sets the parent task.

public void
validateAttributes()

Validates the passed in attributes.

Field Detail

ACTION_DELETEback to summary
public static final String ACTION_DELETE

The delete action String

ACTION_DEPLOYback to summary
public static final String ACTION_DEPLOY

The deploy action String

ACTION_LISTback to summary
public static final String ACTION_LIST

The list action String

ACTION_UNDEPLOYback to summary
public static final String ACTION_UNDEPLOY

The undeploy action String

ACTION_UPDATEback to summary
public static final String ACTION_UPDATE

The update action String

Method Detail

deployback to summary
public void deploy() throws BuildException

Perform the actual deployment.

Exceptions
BuildException:
if the attributes are invalid or incomplete.
setTaskback to summary
public void setTask(ServerDeploy task)

Sets the parent task.

Parameters
task:ServerDeploy

A ServerDeploy object representing the parent task.

validateAttributesback to summary
public void validateAttributes() throws BuildException

Validates the passed in attributes.

Exceptions
BuildException:
if the attributes are invalid or incomplete.