Class IdentifierContingencyList
- java.lang.Object
-
- com.powsybl.contingency.contingency.list.IdentifierContingencyList
-
- All Implemented Interfaces:
ContingencyList
public class IdentifierContingencyList extends Object implements ContingencyList
- Author:
- Etienne Lesot
-
-
Constructor Summary
Constructors Constructor Description IdentifierContingencyList(String name, List<NetworkElementIdentifier> networkElementIdentifiers)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Contingency>
getContingencies(Network network)
Return a list of contingency for the given network.List<NetworkElementIdentifier>
getIdentifiants()
String
getName()
Return the name of this contingency listString
getType()
Return the type of this contingency liststatic String
getVersion()
-
-
-
Constructor Detail
-
IdentifierContingencyList
public IdentifierContingencyList(String name, List<NetworkElementIdentifier> networkElementIdentifiers)
-
-
Method Detail
-
getVersion
public static String getVersion()
-
getName
public String getName()
Description copied from interface:ContingencyList
Return the name of this contingency list- Specified by:
getName
in interfaceContingencyList
-
getType
public String getType()
Description copied from interface:ContingencyList
Return the type of this contingency list- Specified by:
getType
in interfaceContingencyList
-
getIdentifiants
public List<NetworkElementIdentifier> getIdentifiants()
-
getContingencies
public List<Contingency> getContingencies(Network network)
Description copied from interface:ContingencyList
Return a list of contingency for the given network.- Specified by:
getContingencies
in interfaceContingencyList
-
-