Interface FunctionRef.Builder

  • Method Details

    • runCondition

      FunctionRef.Builder runCondition(String runCondition)

      An optional expression that evaluates to a boolean. MediaTailor evaluates this expression immediately before running the step, using the accumulated state at that point in the sequence. If the expression evaluates to false, MediaTailor skips the step and moves to the next one. If omitted, the step always runs.

      Parameters:
      runCondition - An optional expression that evaluates to a boolean. MediaTailor evaluates this expression immediately before running the step, using the accumulated state at that point in the sequence. If the expression evaluates to false, MediaTailor skips the step and moves to the next one. If omitted, the step always runs.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • functionId

      FunctionRef.Builder functionId(String functionId)

      The identifier of the child function to execute in this step.

      Parameters:
      functionId - The identifier of the child function to execute in this step.
      Returns:
      Returns a reference to this object so that method calls can be chained together.