public enum DefaultScriptFunction extends java.lang.Enum<DefaultScriptFunction> implements ScriptFunction
ScriptTypes which have a single function| Enum Constant and Description |
|---|
DEFAULT
Main script
|
| Modifier and Type | Method and Description |
|---|---|
MessageKey |
messageKey()
Returns a message key to use for this function
|
boolean |
required()
Returns whether the function is required
|
static DefaultScriptFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DefaultScriptFunction[] |
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 DefaultScriptFunction DEFAULT
public static DefaultScriptFunction[] values()
for (DefaultScriptFunction c : DefaultScriptFunction.values()) System.out.println(c);
public static DefaultScriptFunction 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 boolean required()
ScriptFunctionrequired in interface ScriptFunction