Class GroovyCurvesSupplier
- java.lang.Object
-
- com.powsybl.dynamicsimulation.groovy.GroovyCurvesSupplier
-
- All Implemented Interfaces:
CurvesSupplier
,SimulatorInputSupplier<Curve>
public class GroovyCurvesSupplier extends Object implements CurvesSupplier
- Author:
- Mathieu Bague
-
-
Constructor Summary
Constructors Constructor Description GroovyCurvesSupplier(Path path)
GroovyCurvesSupplier(Path path, List<CurveGroovyExtension> extensions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Curve>
get(Network network)
Return a list ofString
getName()
Return the name of theDynamicSimulationProvider
instance, this provider is compatible with.
-
-
-
Constructor Detail
-
GroovyCurvesSupplier
public GroovyCurvesSupplier(Path path)
-
GroovyCurvesSupplier
public GroovyCurvesSupplier(Path path, List<CurveGroovyExtension> extensions)
-
-
Method Detail
-
getName
public String getName()
Description copied from interface:SimulatorInputSupplier
Return the name of theDynamicSimulationProvider
instance, this provider is compatible with. This method can return null, if this supplier is compatible with anyDynamicSimulationProvider
objects.- Specified by:
getName
in interfaceSimulatorInputSupplier<Curve>
- Returns:
- The name of a compatible
DynamicSimulationProvider
, or null for any
-
get
public List<Curve> get(Network network)
Description copied from interface:SimulatorInputSupplier
Return a list ofT
objects specific to a given network- Specified by:
get
in interfaceSimulatorInputSupplier<Curve>
- Parameters:
network
- The network used to filter the content of the list- Returns:
- A list of
T
for the given network
-
-