Package com.powsybl.security.action
Class SwitchAction
- java.lang.Object
-
- com.powsybl.security.action.AbstractAction
-
- com.powsybl.security.action.SwitchAction
-
- All Implemented Interfaces:
Action
public class SwitchAction extends AbstractAction
An action opening or closing a switch.- Author:
- Etienne Lesot
-
-
Constructor Summary
Constructors Constructor Description SwitchAction(String id, String switchId, boolean open)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getSwitchId()
String
getType()
boolean
isOpen()
Iftrue
, applying the action will open the switch, else it will close it.-
Methods inherited from class com.powsybl.security.action.AbstractAction
getId
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
-