public class CascadeUninstallTask extends AbstractBaseTask
A Rhino management sub task for uninstalling a deployable unit and all dependencies recursively.
Attribute | Description | Required |
---|---|---|
failonerror |
Flag to control failure behaviour.
If 'true', the sub task will throw a |
No. default value is taken from the Rhino management parent task. |
url |
URL of deployable unit to uninstall. |
Either a url or component element must be declared. |
Element | Description | Required |
---|---|---|
component |
Identifies a component to be removed.
The component must be a copied component.
See |
Either a url or component element must be declared. |
The task is run targeting a non-existent deployable unit or component.
client, failOnError
Constructor and Description |
---|
CascadeUninstallTask() |
Modifier and Type | Method and Description |
---|---|
void |
addComponent(SleeComponentElement component) |
void |
addFileSet(org.apache.tools.ant.types.FileSet fileset) |
protected void |
execute() |
void |
setUrl(String url) |
protected void |
validateParameters() |
getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, run, setFailOnError
protected void execute() throws org.apache.tools.ant.BuildException
execute
in class AbstractBaseTask
org.apache.tools.ant.BuildException
protected void validateParameters() throws org.apache.tools.ant.BuildException
validateParameters
in class AbstractBaseTask
org.apache.tools.ant.BuildException
public void addFileSet(org.apache.tools.ant.types.FileSet fileset)
public void setUrl(String url)
public void addComponent(SleeComponentElement component)