Package org.approvej.approve
Class Approvers
java.lang.Object
org.approvej.approve.Approvers
Collection of static methods to create
Approver instances.-
Method Summary
Modifier and TypeMethodDescriptionstatic Approverfile(PathProvider pathProvider) Creates a newApproverthat uses the givenPathProviderto determine the paths of approved and received files.static org.approvej.approve.InplaceApproverCreates aApproverusing the given previouslyApproved value.
-
Method Details
-
value
Creates aApproverusing the given previouslyApproved value.- Parameters:
previouslyApproved- the approved value- Returns:
- a new
InplaceApproverfor the given previouslyApproved value.
-
file
Creates a newApproverthat uses the givenPathProviderto determine the paths of approved and received files.- Parameters:
pathProvider- the provider for the paths of the approved and received files- Returns:
- a new
FileApproverthat uses the givenPathProvider
-