Enum Class SExceptionContext

java.lang.Object
java.lang.Enum<SExceptionContext>
org.bonitasoft.engine.commons.exceptions.SExceptionContext
All Implemented Interfaces:
Serializable, Comparable<SExceptionContext>, Constable

public enum SExceptionContext extends Enum<SExceptionContext>
To define the context of an exception in the message.
Author:
Celine Souchet
  • Enum Constant Details

    • 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_NAME

      public static final SExceptionContext CONNECTOR_NAME
      Corresponding to the name of the connector
    • CONNECTOR_DEFINITION_ID

      public static final SExceptionContext CONNECTOR_DEFINITION_ID
      Corresponding to the identifier of the connector definition
    • CONNECTOR_INPUT_NAME

      public static final SExceptionContext CONNECTOR_INPUT_NAME
      Corresponding to the name of the input of the connector
    • 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
    • TRANSITION_NAME

      public static final SExceptionContext TRANSITION_NAME
      Corresponding to the name of the transition
    • TRANSITION_TARGET_FLOWNODE_NAME

      public static final SExceptionContext TRANSITION_TARGET_FLOWNODE_NAME
      Corresponding to the target flownode name of the transition
  • Method Details

    • values

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

      public static SExceptionContext valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null