com.ibm.ia.common
Enum RoutingStatus
- java.lang.Object
-
- java.lang.Enum<RoutingStatus>
-
- com.ibm.ia.common.RoutingStatus
-
- 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 typeSTATUS_OK
event was successfully submitted to the runtimeSTATUS_PARTIAL_ROUTING
Event was not routed to some agents due to routing errorsSTATUS_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.
-
-
-
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 namejava.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
-
-