Enum Class LoggingTaskHandlerDecorator.InputParameter
java.lang.Object
java.lang.Enum<LoggingTaskHandlerDecorator.InputParameter>
io.automatiko.engine.workflow.bpmn2.handler.LoggingTaskHandlerDecorator.InputParameter
- All Implemented Interfaces:
Serializable,Comparable<LoggingTaskHandlerDecorator.InputParameter>,Constable
- Enclosing class:
- LoggingTaskHandlerDecorator
public static enum LoggingTaskHandlerDecorator.InputParameter
extends Enum<LoggingTaskHandlerDecorator.InputParameter>
Type of input parameter that will be used in the
MessageFormat string
set in LoggingTaskHandlerDecorator.setLoggedMessageFormat(String).
Work items are referred to in the following table, are WorkItem
instances that were being processed when the exception was thrown.
WORK_ITEM_ID |
The work item id |
WORK_ITEM_NAME |
The work item name |
WORK_ITEM_METHOD |
Either "execut" (without an 'e') or "abort" depending what was being done with the work item. |
WORK_ITEM_HANDLER_TYPE |
The class name of the WorkItemHandler implementation. |
WORK_ITEM_PARAMETERS |
A list of the parameters present in the WorkItem |
SERVICE |
If the work item was being processed as part of a <serviceTask>, then this is the name of the class or service being called. Null otherwise. |
OPERATION |
If the work item was being processed as part of a <serviceTask>, then this is the name of the method or service operation being called. Null otherwise. |
PROCESS_INSTANCE_ID |
The process instance id in which the exception occurred. |
EXCEPTION_CLASS |
The class of the exception thrown. |
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescription -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
WORK_ITEM_ID
-
WORK_ITEM_NAME
-
WORK_ITEM_METHOD
-
WORK_ITEM_HANDLER_TYPE
-
WORK_ITEM_PARAMETERS
-
SERVICE
-
OPERATION
-
PROCESS_INSTANCE_ID
-
EXCEPTION_CLASS
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-