public class BundleTask extends AbstractBundleTask
| Constructor and Description |
|---|
BundleTask() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(DeploymentUnitType deployment) |
void |
addConfigured(InputPropertyType inputProperty) |
void |
execute()
The following Ant project properties must be defined with valid values prior to this method being invoked:
rhq.deploy.id - the
deployment's unique id
(e.g. |
Map<String,DeploymentUnitType> |
getDeploymentUnits() |
String |
getDescription() |
String |
getName() |
String |
getVersion() |
void |
maybeConfigure() |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setVersion(String version) |
protected void |
validateAttributes()
Ensure we have a consistent and legal set of attributes, and set
any internal flags necessary based on different combinations
of attributes.
|
protected void |
validateTypes()
Ensure we have a legal set of child types.
|
getProjectbindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskTypepublic void maybeConfigure()
throws org.apache.tools.ant.BuildException
maybeConfigure in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildExceptionpublic void execute()
throws org.apache.tools.ant.BuildException
deployment's unique id
(e.g. "10001")
rhq.deploy.dir - the deployment install dir
(e.g. "/opt/jbossas-petstore")
rhq.deploy.phase - the deployment phase
If the bundle recipe is being executed from the command line, the user must supply these properties, along
with any input properties required by the bundle recipe.execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - if an error occurspublic String getDescription()
getDescription in class org.apache.tools.ant.ProjectComponentpublic void setDescription(String description)
setDescription in class org.apache.tools.ant.ProjectComponentpublic String getName()
public void setName(String name)
public String getVersion()
public void setVersion(String version)
public void addConfigured(InputPropertyType inputProperty)
public void add(DeploymentUnitType deployment)
public Map<String,DeploymentUnitType> getDeploymentUnits()
protected void validateAttributes()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - if an error occursprotected void validateTypes()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException - if an error occursCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.