Class SwitchAction

java.lang.Object
com.powsybl.action.AbstractAction
com.powsybl.action.SwitchAction
All Implemented Interfaces:
Action

public class SwitchAction extends AbstractAction
An action opening or closing a switch.
Author:
Etienne Lesot <[email protected]>
  • Field Details

  • Constructor Details

    • SwitchAction

      public SwitchAction(String id, String switchId, boolean open)
  • Method Details

    • getType

      public String getType()
    • getSwitchId

      public String getSwitchId()
    • isOpen

      public boolean isOpen()
      If true, applying the action will open the switch, else it will close it.