public enum SessionHandlingScriptFunction extends java.lang.Enum<SessionHandlingScriptFunction> implements ScriptFunction
ScriptFunction.Mapping| Enum Constant and Description |
|---|
LOGIN
Script code to login users (create a new session)
|
LOGOUT
Script code to logout users (invalidate an existing session)
|
RESOLVE
Script code to return the user for a given session
|
SEARCH
Script code to search for connected (logged-in) users
|
| 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 SessionHandlingScriptFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SessionHandlingScriptFunction[] |
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 SessionHandlingScriptFunction LOGIN
public static final SessionHandlingScriptFunction LOGOUT
public static final SessionHandlingScriptFunction RESOLVE
public static final SessionHandlingScriptFunction SEARCH
public static final java.lang.String PREFIX
public static SessionHandlingScriptFunction[] values()
for (SessionHandlingScriptFunction c : SessionHandlingScriptFunction.values()) System.out.println(c);
public static SessionHandlingScriptFunction 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