public enum ConditionType extends Enum<ConditionType>
Enum Constant and Description |
---|
AND
Type of the condition
|
CONDITION
Type of the condition
|
OR
Type of the condition
|
Modifier and Type | Method and Description |
---|---|
static ConditionType |
fromValue(String text) |
String |
getValue() |
String |
toString() |
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 CONDITION
public static final ConditionType AND
public static final ConditionType OR
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 String getValue()
public String toString()
toString
in class Enum<ConditionType>
public static ConditionType fromValue(String text)
Copyright © 2024. All rights reserved.