Interface Condition
public interface Condition
An interface that defines a function to run a Condition
Conditions are applied to screen flow, so each screen may have a condition (or multiple) attached to it.
-
Method Summary
Modifier and TypeMethodDescriptiondefault Booleanrun(Submission submission) Runs a condition check on a submission.default Booleanrun(Submission submission, String subflowUuid) Runs a condition check on a submission's subflow iteration.
-
Method Details
-
run
Runs a condition check on a submission.- Parameters:
submission- submission object the condition is associated with, not null- Returns:
- true if the condition check passes, else false
-
run
Runs a condition check on a submission's subflow iteration.- Parameters:
submission- submission object the condition is associated with, not nullsubflowUuid- uuid of the subflow iteration this should operate on- Returns:
- true if the condition check passes, else false
-