Package com.powsybl.loadflow.validation
Enum ValidationType
- java.lang.Object
-
- java.lang.Enum<ValidationType>
-
- com.powsybl.loadflow.validation.ValidationType
-
- All Implemented Interfaces:
Serializable
,Comparable<ValidationType>
public enum ValidationType extends Enum<ValidationType>
- Author:
- Massimo Ferraro
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
check(Network network, ValidationConfig config, ValidationWriter validationWriter)
boolean
check(Network network, ValidationConfig config, Path folder)
Path
getOutputFile(Path folder)
static ValidationType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ValidationType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLOWS
public static final ValidationType FLOWS
-
GENERATORS
public static final ValidationType GENERATORS
-
BUSES
public static final ValidationType BUSES
-
SVCS
public static final ValidationType SVCS
-
SHUNTS
public static final ValidationType SHUNTS
-
TWTS
public static final ValidationType TWTS
-
TWTS3W
public static final ValidationType TWTS3W
-
-
Method Detail
-
values
public static ValidationType[] 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 (ValidationType c : ValidationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ValidationType 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
-
check
public boolean check(Network network, ValidationConfig config, Path folder) throws IOException
- Throws:
IOException
-
check
public boolean check(Network network, ValidationConfig config, ValidationWriter validationWriter)
-
-