com.highdeal.admin.hci
Class GlobalOperation

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

public class GlobalOperation
extends TargetedOperation

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


Field Summary
 
Fields inherited from class com.highdeal.admin.hci.TargetedOperation
instanceIds
 
Constructor Summary
GlobalOperation(MessageOperation op)
          GlobalOperation constructor
 
Method Summary
 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

GlobalOperation

public GlobalOperation(MessageOperation op)
GlobalOperation 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

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)