Package org.elasticsearch.action.support
Enum IndicesOptions.WildcardStates
- java.lang.Object
-
- java.lang.Enum<IndicesOptions.WildcardStates>
-
- org.elasticsearch.action.support.IndicesOptions.WildcardStates
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<IndicesOptions.WildcardStates>
,java.lang.constant.Constable
- Enclosing class:
- IndicesOptions
public static enum IndicesOptions.WildcardStates extends java.lang.Enum<IndicesOptions.WildcardStates>
-
-
Field Summary
Fields Modifier and Type Field Description static java.util.EnumSet<IndicesOptions.WildcardStates>
NONE
-
Method Summary
Modifier and Type Method Description static java.util.EnumSet<IndicesOptions.WildcardStates>
parseParameter(java.lang.Object value, java.util.EnumSet<IndicesOptions.WildcardStates> defaultStates)
static IndicesOptions.WildcardStates
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static IndicesOptions.WildcardStates[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OPEN
public static final IndicesOptions.WildcardStates OPEN
-
CLOSED
public static final IndicesOptions.WildcardStates CLOSED
-
-
Field Detail
-
NONE
public static final java.util.EnumSet<IndicesOptions.WildcardStates> NONE
-
-
Method Detail
-
values
public static IndicesOptions.WildcardStates[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IndicesOptions.WildcardStates valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
parseParameter
public static java.util.EnumSet<IndicesOptions.WildcardStates> parseParameter(java.lang.Object value, java.util.EnumSet<IndicesOptions.WildcardStates> defaultStates)
-
-