com.ibm.broker.config.proxy
Class OperationType

java.lang.Object
  extended by com.ibm.broker.config.proxy.OperationType

public final class OperationType
extends java.lang.Object

The OperationType type is used to describe the outcome of a Configuration Manager request that has been processed. The class definition defines a number of static instances which can be referenced externally.

class com.ibm.broker.config.proxy.OperationType

Responsibilities Each instance represents a unique operation that can be performed.
Internal Collaborators None

 Change Activity:
 -------- ----------- -------------   ------------------------------------
 Reason:  Date:       Originator:     Comments:
 -------- ----------- -------------   ------------------------------------
 25103.12 2004-04-07  HDMPL           v6 Release
 47371    2007-07-30  HDMPL           v6.1 Release
 
 

Version:
Config/com/ibm/broker/config/proxy/OperationType.java, CMP, S000 1.5

Field Summary
static OperationType actionresponse
          This OperationType is used internally by the Configuration Manager Proxy and is not required by user applications.
static OperationType createchild
          States that the operation was to create a logical subcomponent.
static OperationType delete
          States that the operation was to delete an object controlled by the Configuration Manager.
static OperationType deletechild
          States that the operation was to delete a logical subcomponent.
static OperationType deploy
          States that the operation was to start or cancel a deployment request.
static OperationType deregister
          States that the operation was to ask the Configuration Manager to stop keeping the Configuration Manager Proxy up-to-date with changes to the current object.
static OperationType modify
          States that the operation was to modify attributes of an object controlled by the Configuration Manager.
static OperationType register
          States that the operation was to ask the Configuration Manager to keep the Configuration Manager Proxy up-to-date with changes to the current object.
static OperationType reregister
          This OperationType is used internally by the Configuration Manager Proxy and is not required by user applications.
 
Method Summary
static OperationType getOperationType(int intValue)
          Returns the OperationType object that has the supplied int value.
static OperationType getOperationType(java.lang.String strValue)
          Returns the OperationType object that has the supplied String value.
 int intValue()
          Returns the unique int associated with this instance.
 java.lang.String toString()
          Returns a String representation of the instance.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

deploy

public static final OperationType deploy
States that the operation was to start or cancel a deployment request.


modify

public static final OperationType modify
States that the operation was to modify attributes of an object controlled by the Configuration Manager.


delete

public static final OperationType delete
States that the operation was to delete an object controlled by the Configuration Manager.


createchild

public static final OperationType createchild
States that the operation was to create a logical subcomponent.


deletechild

public static final OperationType deletechild
States that the operation was to delete a logical subcomponent.


register

public static final OperationType register
States that the operation was to ask the Configuration Manager to keep the Configuration Manager Proxy up-to-date with changes to the current object.


deregister

public static final OperationType deregister
States that the operation was to ask the Configuration Manager to stop keeping the Configuration Manager Proxy up-to-date with changes to the current object.


reregister

public static final OperationType reregister
This OperationType is used internally by the Configuration Manager Proxy and is not required by user applications.


actionresponse

public static final OperationType actionresponse
This OperationType is used internally by the Configuration Manager Proxy and is not required by user applications.

Method Detail

intValue

public final int intValue()
Returns the unique int associated with this instance. Useful in developing switch statements based on completion codes.

Returns:
int - The unique value associated with this instance.

toString

public final java.lang.String toString()
Returns a String representation of the instance.

Overrides:
toString in class java.lang.Object

getOperationType

public static final OperationType getOperationType(int intValue)
Returns the OperationType object that has the supplied int value.

Parameters:
intValue - - The value to look up
Returns:
OperationType that has an int value equal to the supplied int, or OperationType.unknown if no such OperationType exists.

getOperationType

public static final OperationType getOperationType(java.lang.String strValue)
Returns the OperationType object that has the supplied String value.

Parameters:
strValue - - The value to look up
Returns:
OperationType that has an int value equal to the supplied int, or OperationType.unknown if no such OperationType exists.