public class GlobalOperation extends TargetedOperation
| Constructor and Description |
|---|
GlobalOperation(MessageOperation op)
GlobalOperation constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addInstanceType(InstanceType instanceType)
Add an instance type into the list of operation targets
|
java.util.Collection<InstanceType> |
getInstanceTypes()
Get collection of targeted instance types
|
void |
updateTargets(SystemStatus systemStatus)
Updates the collection of targeted instance IDs given the system status.
|
getInstanceIds, getOperationpublic GlobalOperation(MessageOperation op)
op - The concrete operation for which to define targetspublic void addInstanceType(InstanceType instanceType)
instanceType - The instance type to addpublic java.util.Collection<InstanceType> getInstanceTypes()
public void updateTargets(SystemStatus systemStatus)
TargetedOperationupdateTargets in class TargetedOperationsystemStatus - The system status