Interface EvaluationFormNumericQuestionOption.Builder

    • Method Detail

      • minValue

        EvaluationFormNumericQuestionOption.Builder minValue​(Integer minValue)

        The minimum answer value of the range option.

        Parameters:
        minValue - The minimum answer value of the range option.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • maxValue

        EvaluationFormNumericQuestionOption.Builder maxValue​(Integer maxValue)

        The maximum answer value of the range option.

        Parameters:
        maxValue - The maximum answer value of the range option.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • score

        EvaluationFormNumericQuestionOption.Builder score​(Integer score)

        The score assigned to answer values within the range option.

        Parameters:
        score - The score assigned to answer values within the range option.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • automaticFail

        EvaluationFormNumericQuestionOption.Builder automaticFail​(Boolean automaticFail)

        The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.

        Parameters:
        automaticFail - The flag to mark the option as automatic fail. If an automatic fail answer is provided, the overall evaluation gets a score of 0.
        Returns:
        Returns a reference to this object so that method calls can be chained together.