com.ibm.broker.config.proxy

Class OperationType

  • java.lang.Object
    • com.ibm.broker.config.proxy.OperationType


  • public final class OperationType
    extends java.lang.Object
    The OperationType type is used to describe the type of a request to a broker. 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
     51619.8  2008-12-16  HDMPL           v7 Release
     51619.40 2009-05-26  HDCAB              Added constants to support administration entries start and stop states
     3779     2012-05-08  HDCAB           v8 Release
                                             Added execution operation type
     
     
    • Field Summary

      Fields 
      Modifier and Type Field and Description
      static OperationType actionresponse
      This OperationType is used internally by the IBM Integration API (CMP) 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 broker.
      static OperationType deletechild
      States that the operation was to delete a logical subcomponent.
      static OperationType deploy
      States that the operation was to start a deployment request.
      static OperationType deregister
      States that the operation was to ask the broker to stop keeping the IBM Integration API (CMP) up-to-date with changes to the current object.
      static OperationType execute
      States that the operation was to execute an action on an object controlled by the broker.
      static OperationType modify
      States that the operation was to modify attributes of an object controlled by the broker.
      static OperationType register
      States that the operation was to ask the broker to keep the IBM Integration API (CMP) up-to-date with changes to the current object.
      static OperationType reregister
      This OperationType is used internally by the IBM Integration API (CMP) and is not required by user applications.
      static OperationType start
      States that the operation was to start an object.
      static OperationType stop
      States that the operation was to stop an object.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      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 a deployment request.
      • modify

        public static final OperationType modify
        States that the operation was to modify attributes of an object controlled by the broker.
      • delete

        public static final OperationType delete
        States that the operation was to delete an object controlled by the broker.
      • execute

        public static final OperationType execute
        States that the operation was to execute an action on an object controlled by the broker.
      • 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.
      • start

        public static final OperationType start
        States that the operation was to start an object.
      • stop

        public static final OperationType stop
        States that the operation was to stop an object.
      • register

        public static final OperationType register
        States that the operation was to ask the broker to keep the IBM Integration API (CMP) up-to-date with changes to the current object.
      • deregister

        public static final OperationType deregister
        States that the operation was to ask the broker to stop keeping the IBM Integration API (CMP) up-to-date with changes to the current object.
      • reregister

        public static final OperationType reregister
        This OperationType is used internally by the IBM Integration API (CMP) and is not required by user applications.
      • actionresponse

        public static final OperationType actionresponse
        This OperationType is used internally by the IBM Integration API (CMP) 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.