Package org.approvej.approve
Class FileApprover
java.lang.Object
org.approvej.approve.FileApprover
- All Implemented Interfaces:
Function<String,
,ApprovalResult> Approver
Approver
that compares the received value with the approved value stored in a file. If
the values differ, it creates a new file with the received value and throws an ApprovalError
.-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<String,
ApprovalResult>
-