public enum ConditionType extends Enum<ConditionType>
| Enum Constant and Description |
|---|
DATETIME |
NUMBER |
SEGMENT |
SEMVER |
STRING |
| Modifier and Type | Method and Description |
|---|---|
static ConditionType |
forValue(String value) |
String |
toValue() |
static ConditionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConditionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConditionType STRING
public static final ConditionType SEGMENT
public static final ConditionType DATETIME
public static final ConditionType NUMBER
public static final ConditionType SEMVER
public static ConditionType[] values()
for (ConditionType c : ConditionType.values()) System.out.println(c);
public static ConditionType 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 ConditionType forValue(String value)
public String toValue()
Copyright © 2023. All rights reserved.