Class GrouperFailsafe
java.lang.Object
edu.internet2.middleware.grouper.misc.GrouperFailsafe
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidassignApproveNextRun(String name) static voidassignFailed(String jobName) assign an failure to this jobstatic voidassignSuccess(String jobName) assign a success to this jobstatic voidmake sure a row exists for this job namestatic booleanisApproved(String name) see if this failsafe is approvedstatic booleanisFailsafeIssue(String name) see if there is a failsafe issue last run (might be approved)static voidstatic voidremoveFailure(String jobName) remove failure from this jobget all job names where not approved and needs approval
-
Constructor Details
-
GrouperFailsafe
public GrouperFailsafe()
-
-
Method Details
-
main
-
isApproved
see if this failsafe is approved- Parameters:
name-- Returns:
- true if this failsafe is approved
-
isFailsafeIssue
see if there is a failsafe issue last run (might be approved)- Parameters:
name-- Returns:
- true if this failsafe is approved
-
insertRow
make sure a row exists for this job name- Parameters:
name-
-
assignApproveNextRun
- Parameters:
name-
-
assignSuccess
assign a success to this job- Parameters:
jobName-
-
removeFailure
remove failure from this job- Parameters:
jobName-
-
assignFailed
assign an failure to this job- Parameters:
jobName-
-
retrieveJobNamesNeedApprovalNotApproved
get all job names where not approved and needs approval- Returns:
- job names
-