Class ScriptNetworkModification
- java.lang.Object
-
- com.powsybl.action.dsl.modification.ScriptNetworkModification
-
- All Implemented Interfaces:
NetworkModification
public class ScriptNetworkModification extends Object implements NetworkModification
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description ScriptNetworkModification(groovy.lang.Closure<Void> script)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(Network network, ComputationManager computationManager)
groovy.lang.Closure<Void>
getScript()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.powsybl.iidm.modification.NetworkModification
apply, apply, apply
-
-
-
-
Constructor Detail
-
ScriptNetworkModification
public ScriptNetworkModification(groovy.lang.Closure<Void> script)
-
-
Method Detail
-
getScript
public groovy.lang.Closure<Void> getScript()
-
apply
public void apply(Network network, ComputationManager computationManager)
- Specified by:
apply
in interfaceNetworkModification
-
-