com.highdeal.admin.hci
Class GlobalAndUnitaryOperation

java.lang.Object
  extended by com.highdeal.admin.hci.TargetedOperation
      extended by com.highdeal.admin.hci.GlobalAndUnitaryOperation

public class GlobalAndUnitaryOperation
extends TargetedOperation

This class implements the targeted operation and enables to define several targets with instance type and/or instance id.


Field Summary
 
Fields inherited from class com.highdeal.admin.hci.TargetedOperation
instanceIds
 
Constructor Summary
GlobalAndUnitaryOperation(MessageOperation op)
          GlobalAndUnitaryOperation constructor
 
Method Summary
 void addInstanceId(InstanceId instanceId)
          Add an instance id into the list of operation targets
 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.
 
Methods inherited from class com.highdeal.admin.hci.TargetedOperation
getInstanceIds, getOperation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GlobalAndUnitaryOperation

public GlobalAndUnitaryOperation(MessageOperation op)
GlobalAndUnitaryOperation constructor

Parameters:
op - The concrete operation for which to define targets
Method Detail

addInstanceType

public void addInstanceType(InstanceType instanceType)
Add an instance type into the list of operation targets

Parameters:
instanceType - The instance type to add

getInstanceTypes

public java.util.Collection<InstanceType> getInstanceTypes()
Get collection of targeted instance types

Returns:
The collection of targeted instance types

addInstanceId

public void addInstanceId(InstanceId instanceId)
Add an instance id into the list of operation targets

Parameters:
instanceId - The instance id to add

updateTargets

public void updateTargets(SystemStatus systemStatus)
Description copied from class: TargetedOperation
Updates the collection of targeted instance IDs given the system status.

Specified by:
updateTargets in class TargetedOperation
Parameters:
systemStatus - The system status

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)