Method Summary |
|
public Path | createClasspath() Add a classpath as a nested element. |
abstract public void | deploy() Perform the actual deployment. |
public Path | getClasspath() gets the classpath field. |
public String | getPassword() Returns the password field. |
public String | getServer() Returns the server field. |
protected ServerDeploy | getTask() Returns the task field, a ServerDeploy object. |
public String | getUserName() Returns the userName field. |
abstract protected boolean | isActionValid() Determines if the "action" attribute defines a valid action.
Subclasses should determine if the action passed in is
supported by the vendor's deployment tool.
Actions may by "deploy", "delete", etc... |
public void | setClasspath(Path classpath) The classpath to be passed to the JVM running the tool;
optional depending upon the tool. |
public void | setPassword(String password) The password of the user; optional. |
public void | setServer(String server) The address or URL for the server where the component will be deployed. |
public void | setTask(ServerDeploy task) Sets the parent task. |
public void | setUserName(String userName) The user with privileges to deploy applications to the server; optional. |
public void | validateAttributes() Validates the passed in attributes.
Subclasses should chain to this super-method to insure
validation of boilerplate attributes.
Only the "action" attribute is required in the
base class. |