- All Known Implementing Classes:
StepApprovalDecision.Approve,StepApprovalDecision.Reject
public sealed interface StepApprovalDecision
permits StepApprovalDecision.Approve, StepApprovalDecision.Reject
A human decision for a step suspended in
WorkflowStatus.AWAITING_STEP_APPROVAL by a
StepTransition.HUMAN_APPROVAL gate. Mirrors
ApprovalDecision: the actor is carried inside the decision.
StepApprovalDecision.Approve advances the run; StepApprovalDecision.Reject fails it (no send-back).
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordApprove the step and advance the run.static final recordReject the step and fail the run.