Package com.powsybl.action.dsl
Class ActionDb
- java.lang.Object
-
- com.powsybl.action.dsl.ActionDb
-
public class ActionDb extends Object
- Author:
- Geoffroy Jamgotchian
-
-
Constructor Summary
Constructors Constructor Description ActionDb()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAction(Action action)
void
addContingency(Contingency contingency)
void
addRule(Rule rule)
Action
getAction(String id)
Collection<Action>
getActions()
Collection<Contingency>
getContingencies()
Contingency
getContingency(String id)
Collection<Rule>
getRules()
-
-
-
Method Detail
-
addContingency
public void addContingency(Contingency contingency)
-
getContingencies
public Collection<Contingency> getContingencies()
-
getActions
public Collection<Action> getActions()
-
getContingency
public Contingency getContingency(String id)
-
addRule
public void addRule(Rule rule)
-
getRules
public Collection<Rule> getRules()
-
addAction
public void addAction(Action action)
-
-