Package com.powsybl.contingency.dsl
Class GroovyContingencyList
- java.lang.Object
-
- com.powsybl.contingency.dsl.GroovyContingencyList
-
- All Implemented Interfaces:
ContingencyList
public class GroovyContingencyList extends Object implements ContingencyList
- Author:
- Mathieu Bague
-
-
Field Summary
-
Fields inherited from interface com.powsybl.contingency.contingency.list.ContingencyList
VERSION
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Contingency>
getContingencies(Network network)
Return a list of contingency for the given network.String
getName()
Return the name of this contingency listString
getType()
Return the type of this contingency list
-
-
-
Method Detail
-
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
-
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
-
-