Class GlobalOperation
java.lang.Object
com.highdeal.admin.hci.TargetedOperation
com.highdeal.admin.hci.GlobalOperation
This class implements the targeted operation and enables to define
several targets with instance type.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInstanceType(InstanceType instanceType) Add an instance type into the list of operation targetsGet collection of targeted instance typesvoidupdateTargets(SystemStatus systemStatus) Updates the collection of targeted instance IDs given the system status.Methods inherited from class TargetedOperation
getInstanceIds, getOperation
-
Constructor Details
-
GlobalOperation
GlobalOperation constructor- Parameters:
op- The concrete operation for which to define targets
-
-
Method Details
-
addInstanceType
Add an instance type into the list of operation targets- Parameters:
instanceType- The instance type to add
-
getInstanceTypes
Get collection of targeted instance types- Returns:
- The collection of targeted instance types
-
updateTargets
Description copied from class:TargetedOperationUpdates the collection of targeted instance IDs given the system status.- Specified by:
updateTargetsin classTargetedOperation- Parameters:
systemStatus- The system status
-