Class UserManagementPanel.PySaveContext

java.lang.Object
com.inductiveautomation.factorypmi.application.components.UserManagementPanel.PySaveContext
Enclosing class:
UserManagementPanel

public static class UserManagementPanel.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.
  • Constructor Details

    • PySaveContext

      public PySaveContext()
  • Method Details

    • rejectSave

      public void rejectSave(String reason)
    • isReject

      public boolean isReject()
    • getReason

      public String getReason()