Class GrouperFailsafe

java.lang.Object
edu.internet2.middleware.grouper.misc.GrouperFailsafe

public class GrouperFailsafe extends Object
  • Constructor Details

    • GrouperFailsafe

      public GrouperFailsafe()
  • Method Details

    • main

      public static void main(String[] args)
    • isApproved

      public static boolean isApproved(String name)
      see if this failsafe is approved
      Parameters:
      name -
      Returns:
      true if this failsafe is approved
    • isFailsafeIssue

      public static boolean isFailsafeIssue(String name)
      see if there is a failsafe issue last run (might be approved)
      Parameters:
      name -
      Returns:
      true if this failsafe is approved
    • insertRow

      public static void insertRow(String name)
      make sure a row exists for this job name
      Parameters:
      name -
    • assignApproveNextRun

      public static void assignApproveNextRun(String name)
      Parameters:
      name -
    • assignSuccess

      public static void assignSuccess(String jobName)
      assign a success to this job
      Parameters:
      jobName -
    • removeFailure

      public static void removeFailure(String jobName)
      remove failure from this job
      Parameters:
      jobName -
    • assignFailed

      public static void assignFailed(String jobName)
      assign an failure to this job
      Parameters:
      jobName -
    • retrieveJobNamesNeedApprovalNotApproved

      public static Set<String> retrieveJobNamesNeedApprovalNotApproved()
      get all job names where not approved and needs approval
      Returns:
      job names