Package com.highdeal.admin.hci
Class TargetedOperation
java.lang.Object
com.highdeal.admin.hci.TargetedOperation
- Direct Known Subclasses:
ActiveUpdaterOperation,GlobalAndUnitaryOperation,GlobalOperation,MasterDispatcherOperation,UnitaryOperation
Decorator to declare targets for an admin operation.
-
Constructor Summary
ConstructorsConstructorDescriptionBuilds a TargetedOperation for the given admin operation. -
Method Summary
Modifier and TypeMethodDescriptionGets the collection of targeted instance IDs.Gets the real admin operation for which we are declaring targets.abstract voidupdateTargets(SystemStatus systemStatus) Updates the collection of targeted instance IDs given the system status.
-
Constructor Details
-
TargetedOperation
Builds a TargetedOperation for the given admin operation.- Parameters:
op- The admin operation for which to declare targets
-
-
Method Details
-
getInstanceIds
Gets the collection of targeted instance IDs.- Returns:
- The collection of targeted instance IDs
-
updateTargets
Updates the collection of targeted instance IDs given the system status.- Parameters:
systemStatus- The system status
-
getOperation
Gets the real admin operation for which we are declaring targets.- Returns:
- The real admin operation
-