public class ActivateRAEntityTask extends RAEntityBasedTask
A Rhino management sub task for activating Resource Adaptor Entities.
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. |
entityname |
Name of the resource adaptor entity to activate. |
Yes. |
nodes |
Comma-separated list of node IDs on which the resource adaptor entity should be activated. |
No. If omitted an attempt is made to activate the resource adaptor entity on all current cluster members. |
The task is run targeting an already active resource adaptor.
entityName
client, failOnError
Constructor and Description |
---|
ActivateRAEntityTask() |
Modifier and Type | Method and Description |
---|---|
protected void |
execute() |
void |
setNodes(String nodes) |
protected void |
validateParameters() |
resolveRAEntityName, setEntityName
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 setNodes(String nodes)