Enum ResultFileExporter.ResultType
- java.lang.Object
-
- java.lang.Enum<ResultFileExporter.ResultType>
-
- com.farao_community.farao.gridcapa_core_valid.app.services.results_export.ResultFileExporter.ResultType
-
- All Implemented Interfaces:
Serializable,Comparable<ResultFileExporter.ResultType>
- Enclosing interface:
- ResultFileExporter
public static enum ResultFileExporter.ResultType extends Enum<ResultFileExporter.ResultType>
Several types of results file can co-exist. They are enumerated here. TODO: remove this when the choice of the results file type can be done in the configuration file
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MAIN_RESULTREMEDIAL_ACTIONS_RESULTREX_RESULT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ResultFileExporter.ResultTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ResultFileExporter.ResultType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MAIN_RESULT
public static final ResultFileExporter.ResultType MAIN_RESULT
-
REMEDIAL_ACTIONS_RESULT
public static final ResultFileExporter.ResultType REMEDIAL_ACTIONS_RESULT
-
REX_RESULT
public static final ResultFileExporter.ResultType REX_RESULT
-
-
Method Detail
-
values
public static ResultFileExporter.ResultType[] 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 (ResultFileExporter.ResultType c : ResultFileExporter.ResultType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ResultFileExporter.ResultType 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
-
-