Class EnableSymmetricActivationStateModeTask
- java.lang.Object
-
- com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
-
- com.opencloud.slee.mlet.ant.tasks.EnableSymmetricActivationStateModeTask
-
- All Implemented Interfaces:
SubTask
public class EnableSymmetricActivationStateModeTask extends AbstractBaseTask
A Rhino management sub task for enabling symmetric activation state mode.
Rhino versions prior to 3.0.0 had two modes of operation for managing the activation state of services and resource adaptor entities: per-node and symmetric. From Rhino 3.0.0 these two modes were combined and have been superseded by default desired state which can be overridden by per-node desired state. Per-node desired state overrides default desired state if present. Default desired state is effective if no per-node desired state exists. The commands and Ant tasks to enable and disable symmetric activation state mode remain but do not prevent later modification of per-node desired state.
Ant Parameters Attribute Description Required templatenode
The ID of the node to base symmetric state one. May be the string value 'any' to allow any node to be selected.
Yes.
failonerror
Flag to control failure behaviour. If 'true', the sub task will throw a
BuildException
when an error is encountered. If 'false', the sub task will throw aNonFatalBuildException
instead of aBuildException
under specific circumstances. See below for conditions (if any) which will cause aNonFatalBuildException
.No. default value is taken from the Rhino management parent task.
NonFatalBuildException throw conditions-
The task is run when the symmetric activation state mode is already enabled.
-
-
Field Summary
-
Fields inherited from class com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
client, failOnError
-
-
Constructor Summary
Constructors Constructor Description EnableSymmetricActivationStateModeTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
execute()
void
setTemplateNode(String templateNode)
protected void
validateParameters()
-
Methods inherited from class com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, run, setFailOnError
-
-
-
-
Method Detail
-
validateParameters
protected void validateParameters() throws org.apache.tools.ant.BuildException
- Specified by:
validateParameters
in classAbstractBaseTask
- Throws:
org.apache.tools.ant.BuildException
-
execute
protected void execute() throws org.apache.tools.ant.BuildException
- Specified by:
execute
in classAbstractBaseTask
- Throws:
org.apache.tools.ant.BuildException
-
setTemplateNode
public void setTemplateNode(String templateNode)
-
-