Package com.powsybl.openloadflow.network
Enum VoltageControl.MergeStatus
- java.lang.Object
-
- java.lang.Enum<VoltageControl.MergeStatus>
-
- com.powsybl.openloadflow.network.VoltageControl.MergeStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<VoltageControl.MergeStatus>
- Enclosing class:
- VoltageControl<T extends LfElement>
public static enum VoltageControl.MergeStatus extends Enum<VoltageControl.MergeStatus>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VoltageControl.MergeStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static VoltageControl.MergeStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAIN
public static final VoltageControl.MergeStatus MAIN
-
DEPENDENT
public static final VoltageControl.MergeStatus DEPENDENT
-
-
Method Detail
-
values
public static VoltageControl.MergeStatus[] 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 (VoltageControl.MergeStatus c : VoltageControl.MergeStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VoltageControl.MergeStatus 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
-
-