public static enum ScriptService.ScriptType extends java.lang.Enum<ScriptService.ScriptType>
Modifier and Type | Method and Description |
---|---|
boolean |
getDefaultScriptEnabled() |
ParseField |
getParseField() |
java.lang.String |
getScriptType() |
static ScriptService.ScriptType |
readFrom(StreamInput in) |
java.lang.String |
toString() |
static ScriptService.ScriptType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ScriptService.ScriptType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
static void |
writeTo(ScriptService.ScriptType scriptType,
StreamOutput out) |
public static final ScriptService.ScriptType INLINE
public static final ScriptService.ScriptType STORED
public static final ScriptService.ScriptType FILE
public static ScriptService.ScriptType[] values()
for (ScriptService.ScriptType c : ScriptService.ScriptType.values()) System.out.println(c);
public static ScriptService.ScriptType 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 static ScriptService.ScriptType readFrom(StreamInput in) throws java.io.IOException
java.io.IOException
public static void writeTo(ScriptService.ScriptType scriptType, StreamOutput out) throws java.io.IOException
java.io.IOException
public ParseField getParseField()
public boolean getDefaultScriptEnabled()
public java.lang.String getScriptType()
public java.lang.String toString()
toString
in class java.lang.Enum<ScriptService.ScriptType>