Class ServiceActivationTask
- java.lang.Object
-
- com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
-
- com.opencloud.slee.mlet.ant.tasks.ComponentBasedTask
-
- com.opencloud.slee.mlet.ant.tasks.ServiceActivationTask
-
- All Implemented Interfaces:
SubTask
- Direct Known Subclasses:
ActivateServiceTask
,DeactivateServiceTask
public abstract class ServiceActivationTask extends ComponentBasedTask
-
-
Field Summary
Fields Modifier and Type Field Description protected String
nodes
protected String
serviceID
-
Fields inherited from class com.opencloud.slee.mlet.ant.tasks.ComponentBasedTask
component
-
Fields inherited from class com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
client, failOnError
-
-
Constructor Summary
Constructors Constructor Description ServiceActivationTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected com.opencloud.util.IntSet
getNodesInState(ServiceID id, ServiceDesiredState state, com.opencloud.util.IntSet nodes, ServiceManagementMBean sm)
void
setNodes(String nodes)
void
setServiceID(String serviceID)
protected void
validateParameters()
-
Methods inherited from class com.opencloud.slee.mlet.ant.tasks.ComponentBasedTask
addComponent, findComponent
-
Methods inherited from class com.opencloud.slee.mlet.ant.tasks.AbstractBaseTask
execute, getExceptionAndMessage, getFailOnError, getMessage, getOverrideFailOnError, getParent, getProject, log, run, setFailOnError
-
-
-
-
Method Detail
-
getNodesInState
protected com.opencloud.util.IntSet getNodesInState(ServiceID id, ServiceDesiredState state, com.opencloud.util.IntSet nodes, ServiceManagementMBean sm) throws UnrecognizedServiceException, ManagementException
-
validateParameters
protected void validateParameters() throws org.apache.tools.ant.BuildException
- Specified by:
validateParameters
in classAbstractBaseTask
- Throws:
org.apache.tools.ant.BuildException
-
setServiceID
public void setServiceID(String serviceID)
-
setNodes
public void setNodes(String nodes)
-
-