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 Type
    Method
    Description
    default Boolean
    run(Submission submission)
    Runs a condition check on a submission.
    default Boolean
    run(Submission submission, String subflowUuid)
    Runs a condition check on a submission's subflow iteration.
  • Method Details

    • run

      default Boolean run(Submission submission)
      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

      default Boolean run(Submission submission, String subflowUuid)
      Runs a condition check on a submission's subflow iteration.
      Parameters:
      submission - submission object the condition is associated with, not null
      subflowUuid - uuid of the subflow iteration this should operate on
      Returns:
      true if the condition check passes, else false