Interface OnBeforeUserJobChangeActionScriptObject


  • public interface OnBeforeUserJobChangeActionScriptObject
    Interface of the context available for OnBeforeUserChange action/triggers.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      JobStatus getNewStatus()
      Get the new status of the job, the status that this job will go into once this action completes (assuming that this or other actions do not change the job).
      JobStatus getOldStatus()
      Get the old status of the job, the status that this job was in before persist started.
    • Method Detail

      • getOldStatus

        JobStatus getOldStatus()
        Get the old status of the job, the status that this job was in before persist started.
        Returns:
        The old status.
      • getNewStatus

        JobStatus getNewStatus()
        Get the new status of the job, the status that this job will go into once this action completes (assuming that this or other actions do not change the job).
        Returns:
        The new status.