Enum RuleCondition.AppliesTo
- java.lang.Object
-
- java.lang.Enum<RuleCondition.AppliesTo>
-
- org.elasticsearch.client.ml.job.config.RuleCondition.AppliesTo
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RuleCondition.AppliesTo>
,java.lang.constant.Constable
- Enclosing class:
- RuleCondition
public static enum RuleCondition.AppliesTo extends java.lang.Enum<RuleCondition.AppliesTo>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTUAL
DIFF_FROM_TYPICAL
TIME
TYPICAL
-
Method Summary
Modifier and Type Method Description static RuleCondition.AppliesTo
fromString(java.lang.String value)
java.lang.String
toString()
static RuleCondition.AppliesTo
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RuleCondition.AppliesTo[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACTUAL
public static final RuleCondition.AppliesTo ACTUAL
-
TYPICAL
public static final RuleCondition.AppliesTo TYPICAL
-
DIFF_FROM_TYPICAL
public static final RuleCondition.AppliesTo DIFF_FROM_TYPICAL
-
TIME
public static final RuleCondition.AppliesTo TIME
-
-
Method Detail
-
values
public static RuleCondition.AppliesTo[] 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 RuleCondition.AppliesTo 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 RuleCondition.AppliesTo fromString(java.lang.String value)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Enum<RuleCondition.AppliesTo>
-
-