Enum SExceptionContext
- java.lang.Object
-
- java.lang.Enum<SExceptionContext>
-
- org.bonitasoft.engine.commons.exceptions.SExceptionContext
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SExceptionContext>
public enum SExceptionContext extends java.lang.Enum<SExceptionContext>
To define the context of an exception in the message.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTOR_ACTIVATION_EVENTCorresponding to the event which activates the connectorCONNECTOR_DEFINITION_IDCorresponding to the identifier of the connector definitionCONNECTOR_DEFINITION_VERSIONCorresponding to the version of the connector definitionCONNECTOR_IMPLEMENTATION_CLASS_NAMECorresponding to the class name of the implementation of the connector definitionCONNECTOR_INSTANCE_IDCorresponding to the identifier of the connector instanceDOCUMENT_IDCorresponding to the identifier of the documentFLOW_NODE_DEFINITION_IDCorresponding to the identifier of the flow node definitionFLOW_NODE_INSTANCE_IDCorresponding to the identifier of the flow node instanceFLOW_NODE_NAMECorresponding to the name of the flow nodeGROUP_IDCorresponding to the identifier of the groupMESSAGE_INSTANCE_NAMECorresponding to the name of the Message InstanceMESSAGE_INSTANCE_TARGET_FLOW_NODE_NAMECorresponding to the target flow node name of the Message InstanceMESSAGE_INSTANCE_TARGET_PROCESS_NAMECorresponding to the target process name of the Message InstancePROCESS_DEFINITION_IDCorresponding to the identifier of the process definitionPROCESS_INSTANCE_IDCorresponding to the identifier of the process instancePROCESS_NAMECorresponding to the name of the process definitionPROCESS_VERSIONCorresponding to the version of the process definitionROLE_IDCorresponding to the identifier of the roleROOT_PROCESS_INSTANCE_IDCorresponding to the identifier of the root process instanceUSER_IDCorresponding to the identifier of the userWAITING_MESSAGE_INSTANCE_TYPECorresponding to the event type of the Waiting Message Instance
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SExceptionContextvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SExceptionContext[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PROCESS_DEFINITION_ID
public static final SExceptionContext PROCESS_DEFINITION_ID
Corresponding to the identifier of the process definition
-
PROCESS_NAME
public static final SExceptionContext PROCESS_NAME
Corresponding to the name of the process definition
-
PROCESS_VERSION
public static final SExceptionContext PROCESS_VERSION
Corresponding to the version of the process definition
-
PROCESS_INSTANCE_ID
public static final SExceptionContext PROCESS_INSTANCE_ID
Corresponding to the identifier of the process instance
-
ROOT_PROCESS_INSTANCE_ID
public static final SExceptionContext ROOT_PROCESS_INSTANCE_ID
Corresponding to the identifier of the root process instance
-
FLOW_NODE_DEFINITION_ID
public static final SExceptionContext FLOW_NODE_DEFINITION_ID
Corresponding to the identifier of the flow node definition
-
FLOW_NODE_INSTANCE_ID
public static final SExceptionContext FLOW_NODE_INSTANCE_ID
Corresponding to the identifier of the flow node instance
-
FLOW_NODE_NAME
public static final SExceptionContext FLOW_NODE_NAME
Corresponding to the name of the flow node
-
MESSAGE_INSTANCE_NAME
public static final SExceptionContext MESSAGE_INSTANCE_NAME
Corresponding to the name of the Message Instance
-
MESSAGE_INSTANCE_TARGET_PROCESS_NAME
public static final SExceptionContext MESSAGE_INSTANCE_TARGET_PROCESS_NAME
Corresponding to the target process name of the Message Instance
-
MESSAGE_INSTANCE_TARGET_FLOW_NODE_NAME
public static final SExceptionContext MESSAGE_INSTANCE_TARGET_FLOW_NODE_NAME
Corresponding to the target flow node name of the Message Instance
-
WAITING_MESSAGE_INSTANCE_TYPE
public static final SExceptionContext WAITING_MESSAGE_INSTANCE_TYPE
Corresponding to the event type of the Waiting Message Instance
-
CONNECTOR_DEFINITION_ID
public static final SExceptionContext CONNECTOR_DEFINITION_ID
Corresponding to the identifier of the connector definition
-
CONNECTOR_IMPLEMENTATION_CLASS_NAME
public static final SExceptionContext CONNECTOR_IMPLEMENTATION_CLASS_NAME
Corresponding to the class name of the implementation of the connector definition
-
CONNECTOR_DEFINITION_VERSION
public static final SExceptionContext CONNECTOR_DEFINITION_VERSION
Corresponding to the version of the connector definition
-
CONNECTOR_ACTIVATION_EVENT
public static final SExceptionContext CONNECTOR_ACTIVATION_EVENT
Corresponding to the event which activates the connector
-
CONNECTOR_INSTANCE_ID
public static final SExceptionContext CONNECTOR_INSTANCE_ID
Corresponding to the identifier of the connector instance
-
USER_ID
public static final SExceptionContext USER_ID
Corresponding to the identifier of the user
-
GROUP_ID
public static final SExceptionContext GROUP_ID
Corresponding to the identifier of the group
-
ROLE_ID
public static final SExceptionContext ROLE_ID
Corresponding to the identifier of the role
-
DOCUMENT_ID
public static final SExceptionContext DOCUMENT_ID
Corresponding to the identifier of the document
-
-
Method Detail
-
values
public static SExceptionContext[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SExceptionContext c : SExceptionContext.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SExceptionContext valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-