com.ibm.ia.common

Enum RoutingStatus

  • java.lang.Object
  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Comparable<RoutingStatus>


    public enum RoutingStatus
    extends java.lang.Enum<RoutingStatus>
    Status values to indicate event submission result. Event is considered successfully submitted for processing if it was inserted into Object Grid map without any exceptions. ProcessException is returned in case of failure. These Status values indicate non-error (successful) statuses.
    • Enum Constant Summary

      Enum Constants 
      Enum Constant and Description
      STATUS_NO_AGENTS
      event was not submitted as no agents were found for this event type
      STATUS_OK
      event was successfully submitted to the runtime
      STATUS_PARTIAL_ROUTING
      Event was not routed to some agents due to routing errors
      STATUS_ROUTING_CONDITION_FALSE
      event was not submitted as routing conditions for interested agents returned FALSE
    • Method Summary

      Methods 
      Modifier and Type Method and Description
      static RoutingStatus valueOf(java.lang.String name)
      Returns the enum constant of this type with the specified name.
      static RoutingStatus[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      • Methods inherited from class java.lang.Enum

        clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Enum Constant Detail

      • STATUS_OK

        public static final RoutingStatus STATUS_OK
        event was successfully submitted to the runtime
      • STATUS_NO_AGENTS

        public static final RoutingStatus STATUS_NO_AGENTS
        event was not submitted as no agents were found for this event type
      • STATUS_ROUTING_CONDITION_FALSE

        public static final RoutingStatus STATUS_ROUTING_CONDITION_FALSE
        event was not submitted as routing conditions for interested agents returned FALSE
      • STATUS_PARTIAL_ROUTING

        public static final RoutingStatus STATUS_PARTIAL_ROUTING
        Event was not routed to some agents due to routing errors
    • Method Detail

      • values

        public static RoutingStatus[] values()
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static RoutingStatus valueOf(java.lang.String name)
        Throws:
        java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
        java.lang.NullPointerException - if the argument is null
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name

© Copyright IBM 2016