public static enum ScriptService.ScriptType extends Enum<ScriptService.ScriptType>
Modifier and Type | Method and Description |
---|---|
ParseField |
getParseField() |
static ScriptService.ScriptType |
readFrom(StreamInput in) |
String |
toString() |
static ScriptService.ScriptType |
valueOf(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 INDEXED
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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static ScriptService.ScriptType readFrom(StreamInput in) throws IOException
IOException
public static void writeTo(ScriptService.ScriptType scriptType, StreamOutput out) throws IOException
IOException
public ParseField getParseField()
public String toString()
toString
in class Enum<ScriptService.ScriptType>
Copyright © 2009–2016. All rights reserved.