Enum PayloadInfoBuilderContext.INITIATOR_HINT
- java.lang.Object
-
- java.lang.Enum<PayloadInfoBuilderContext.INITIATOR_HINT>
-
- com.adobe.granite.workflow.payload.PayloadInfoBuilderContext.INITIATOR_HINT
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<PayloadInfoBuilderContext.INITIATOR_HINT>
- Enclosing interface:
- PayloadInfoBuilderContext
public static enum PayloadInfoBuilderContext.INITIATOR_HINT extends java.lang.Enum<PayloadInfoBuilderContext.INITIATOR_HINT>
The initiator hint provides information on where the call into the PayloadInfoBuilder was originated. WORKFLOW_CONSOLE: The legacy workflow console. TOUCH_WORKFLOW_CONSOLE: The touch UI workflow console INBOX: The legacy inbox TOUCH_INBOX: The touch UI inbox BADGE: The inbox's badge NOTIFICATION: A notification builder (ie: email)
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BADGE
INBOX
NOTIFICATION
TOUCH_INBOX
TOUCH_WORKFLOW_CONSOLE
WORKFLOW_CONSOLE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PayloadInfoBuilderContext.INITIATOR_HINT
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static PayloadInfoBuilderContext.INITIATOR_HINT[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WORKFLOW_CONSOLE
public static final PayloadInfoBuilderContext.INITIATOR_HINT WORKFLOW_CONSOLE
-
TOUCH_WORKFLOW_CONSOLE
public static final PayloadInfoBuilderContext.INITIATOR_HINT TOUCH_WORKFLOW_CONSOLE
-
INBOX
public static final PayloadInfoBuilderContext.INITIATOR_HINT INBOX
-
TOUCH_INBOX
public static final PayloadInfoBuilderContext.INITIATOR_HINT TOUCH_INBOX
-
BADGE
public static final PayloadInfoBuilderContext.INITIATOR_HINT BADGE
-
NOTIFICATION
public static final PayloadInfoBuilderContext.INITIATOR_HINT NOTIFICATION
-
-
Method Detail
-
values
public static PayloadInfoBuilderContext.INITIATOR_HINT[] 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 (PayloadInfoBuilderContext.INITIATOR_HINT c : PayloadInfoBuilderContext.INITIATOR_HINT.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PayloadInfoBuilderContext.INITIATOR_HINT 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
-
-