org.rhq.enterprise.server.operation
Class GroupOperationSchedule
java.lang.Object
org.rhq.enterprise.server.operation.OperationSchedule
org.rhq.enterprise.server.operation.GroupOperationSchedule
- All Implemented Interfaces:
- java.io.Serializable
public class GroupOperationSchedule
- extends OperationSchedule
- See Also:
- Serialized Form
| Methods inherited from class org.rhq.enterprise.server.operation.OperationSchedule |
getDescription, getJobGroup, getJobId, getJobName, getOperationDisplayName, getOperationName, getParameters, getSubject, setDescription, setJobGroup, setJobName, setOperationDisplayName, setOperationName, setParameters, setSubject |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
GroupOperationSchedule
public GroupOperationSchedule()
getGroup
public ResourceGroup getGroup()
setGroup
public void setGroup(ResourceGroup group)
getExecutionOrder
public java.util.List<Resource> getExecutionOrder()
- The order to execute the operations - the first resource in the list is the first one to get its operation
invoked. If this is
null, all operations can be invoked in any order and may even be done
concurrently.
- Returns:
- list of resources in the order in which their operations are invoked, or
null
setExecutionOrder
public void setExecutionOrder(java.util.List<Resource> executionOrder)
isHaltOnFailure
public boolean isHaltOnFailure()
- If
true, the group operation will halt whenever one individual resource fails to execute. When
executing in order, this means once a failure occurs, the resources next in line to execute will abort and not
attempt to execute. If not executing in any particular order, you are not guaranteed which will stop and which
will continue since all are executed as fast as possible, but the group operation will attempt to stop as best it
can.
- Returns:
- halt flag
getHaltOnFailure
public boolean getHaltOnFailure()
- need a getXXX method instead of isXXX method for proper referencing from facelets pages
setHaltOnFailure
public void setHaltOnFailure(boolean haltOnFailure)
toString
public java.lang.String toString()
- Overrides:
toString in class OperationSchedule
Copyright © 2008-2009 Red Hat, Inc.. All Rights Reserved.