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

Interface HotDeploymentTool

Known Implementing Classes:
AbstractHotDeploymentTool, GenericHotDeploymentTool, JonasHotDeploymentTool, WebLogicHotDeploymentTool

public interface HotDeploymentTool

An interface for vendor-specific "hot" deployment tools.
See Also:
AbstractHotDeploymentTool, ServerDeploy

Field Summary

static String
ACTION_DELETE
The delete action String *
static String
ACTION_DEPLOY
The deploy action String *
static String
ACTION_LIST
The list action String *
static String
ACTION_UNDEPLOY
The undeploy action String *
static String
ACTION_UPDATE
The update action String *

Method Summary

void
deploy()
Perform the actual deployment.
void
setTask(ServerDeploy task)
Sets the parent task.
void
validateAttributes()
Validates the passed in attributes.

Field Details

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 Details

deploy

public void deploy()
            throws BuildException
Perform the actual deployment.
Throws:
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()
            throws BuildException
Validates the passed in attributes.
Throws:
BuildException - if the attributes are invalid or incomplete.

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