Enum TransformStats.State
- java.lang.Object
-
- java.lang.Enum<TransformStats.State>
-
- org.elasticsearch.client.transform.transforms.TransformStats.State
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<TransformStats.State>
,java.lang.constant.Constable
- Enclosing class:
- TransformStats
public static enum TransformStats.State extends java.lang.Enum<TransformStats.State>
-
-
Method Summary
Modifier and Type Method Description static TransformStats.State
fromString(java.lang.String name)
java.lang.String
value()
static TransformStats.State
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static TransformStats.State[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
STARTED
public static final TransformStats.State STARTED
-
INDEXING
public static final TransformStats.State INDEXING
-
ABORTING
public static final TransformStats.State ABORTING
-
STOPPING
public static final TransformStats.State STOPPING
-
STOPPED
public static final TransformStats.State STOPPED
-
FAILED
public static final TransformStats.State FAILED
-
-
Method Detail
-
values
public static TransformStats.State[] 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 TransformStats.State 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
-
fromString
public static TransformStats.State fromString(java.lang.String name)
-
value
public java.lang.String value()
-
-