Enum Criterion.CriterionType
- java.lang.Object
-
- java.lang.Enum<Criterion.CriterionType>
-
- com.powsybl.contingency.contingency.list.criterion.Criterion.CriterionType
-
- All Implemented Interfaces:
Serializable
,Comparable<Criterion.CriterionType>
- Enclosing interface:
- Criterion
public static enum Criterion.CriterionType extends Enum<Criterion.CriterionType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description PROPERTY
REGEX
SINGLE_COUNTRY
SINGLE_NOMINAL_VOLTAGE
THREE_NOMINAL_VOLTAGE
TWO_COUNTRY
TWO_NOMINAL_VOLTAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Criterion.CriterionType
valueOf(String name)
Returns the enum constant of this type with the specified name.static Criterion.CriterionType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SINGLE_NOMINAL_VOLTAGE
public static final Criterion.CriterionType SINGLE_NOMINAL_VOLTAGE
-
TWO_NOMINAL_VOLTAGE
public static final Criterion.CriterionType TWO_NOMINAL_VOLTAGE
-
THREE_NOMINAL_VOLTAGE
public static final Criterion.CriterionType THREE_NOMINAL_VOLTAGE
-
PROPERTY
public static final Criterion.CriterionType PROPERTY
-
SINGLE_COUNTRY
public static final Criterion.CriterionType SINGLE_COUNTRY
-
TWO_COUNTRY
public static final Criterion.CriterionType TWO_COUNTRY
-
REGEX
public static final Criterion.CriterionType REGEX
-
-
Method Detail
-
values
public static Criterion.CriterionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Criterion.CriterionType c : Criterion.CriterionType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Criterion.CriterionType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-