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