public static enum StringUtil.ScriptCheckResult extends java.lang.Enum<StringUtil.ScriptCheckResult>
Enum Constant and Description |
---|
NO_SCRIPT_DEFINED |
NO_SHELL_DEFINED |
Modifier and Type | Method and Description |
---|---|
int |
getId()
Get error ID.
|
java.lang.String |
getMessageKey()
Get message key.
|
static StringUtil.ScriptCheckResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StringUtil.ScriptCheckResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StringUtil.ScriptCheckResult NO_SHELL_DEFINED
public static final StringUtil.ScriptCheckResult NO_SCRIPT_DEFINED
public static StringUtil.ScriptCheckResult[] values()
for (StringUtil.ScriptCheckResult c : StringUtil.ScriptCheckResult.values()) System.out.println(c);
public static StringUtil.ScriptCheckResult 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 int getId()
public java.lang.String getMessageKey()