public enum CustomOperationScriptFunction extends java.lang.Enum<CustomOperationScriptFunction> implements ScriptFunction
ScriptFunction.Mapping| Enum Constant and Description |
|---|
CALLBACK
Used only when the custom operation result type is
CustomOperationResultType.EXTERNAL_REDIRECT. |
DEFAULT
The default custom operation execution
|
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PREFIX |
| Modifier and Type | Method and Description |
|---|---|
MessageKey |
messageKey()
Returns a message key to use for this function
|
java.lang.String |
prefix()
Returns the prefix used by this class
|
boolean |
required()
Returns whether the function is required
|
static CustomOperationScriptFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CustomOperationScriptFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfnamepublic static final CustomOperationScriptFunction DEFAULT
public static final CustomOperationScriptFunction CALLBACK
CustomOperationResultType.EXTERNAL_REDIRECT. Is the
function called when the
external site redirects the user back to Cyclospublic static final java.lang.String PREFIX
public static CustomOperationScriptFunction[] values()
for (CustomOperationScriptFunction c : CustomOperationScriptFunction.values()) System.out.println(c);
public static CustomOperationScriptFunction valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic MessageKey messageKey()
ScriptFunctionmessageKey in interface ScriptFunctionpublic java.lang.String prefix()
PrefixedEnumprefix in interface PrefixedEnumpublic boolean required()
ScriptFunctionrequired in interface ScriptFunction