Class RosterManagementPanel.PySaveContext

java.lang.Object
com.inductiveautomation.ignition.alarming.components.RosterManagementPanel.PySaveContext
Enclosing class:
RosterManagementPanel

public static class RosterManagementPanel.PySaveContext extends Object
This is available to the user as the saveContext variable passed in on certain extension functions. The user can call rejectSave() within the extension function to abort the save for any reason. The class is static due to the need for global access by the Jython scripting engine.

Added rejectDelete and rejectCreate to give users a less clunky method name in delete and create extension functions.

Since:
7.8.2
  • Constructor Details

    • PySaveContext

      public PySaveContext()
  • Method Details

    • rejectSave

      public void rejectSave(String reason)
    • rejectDelete

      public void rejectDelete(String reason)
    • rejectCreate

      public void rejectCreate(String reason)
    • isReject

      public boolean isReject()
    • getReason

      public String getReason()