org.rhq.core.domain.operation.bean
Class GroupOperationSchedule
java.lang.Object
org.rhq.core.domain.operation.bean.OperationSchedule
org.rhq.core.domain.operation.bean.GroupOperationSchedule
- All Implemented Interfaces:
- Serializable
public class GroupOperationSchedule
- extends OperationSchedule
A simple non-entity POJO that describes a particular scheduled Resource group operation.
- See Also:
- Serialized Form
Methods inherited from class org.rhq.core.domain.operation.bean.OperationSchedule |
getDescription, getId, getJobGroup, getJobId, getJobName, getJobTrigger, getNextFireTime, getOperationDisplayName, getOperationName, getParameters, getSubject, setDescription, setId, setJobGroup, setJobName, setJobTrigger, setNextFireTime, setOperationDisplayName, setOperationName, setParameters, setSubject |
GroupOperationSchedule
public GroupOperationSchedule()
getGroup
public ResourceGroup getGroup()
setGroup
public void setGroup(ResourceGroup group)
getExecutionOrder
public 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(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 String toString()
- Overrides:
toString
in class OperationSchedule
Copyright © 2008-2011 Red Hat, Inc.. All Rights Reserved.