Interface Question

All Known Implementing Classes:
ChoiceQuestion, ScaleQuestion, YesNoQuestion

@Experimental public interface Question
A question asked to a DecisionModel.

The built-in question types are YesNoQuestion, ChoiceQuestion and ScaleQuestion. Implementations may define additional question types; a model that receives a question type it does not support throws UnsupportedFeatureException.

Since:
1.21.0
  • Method Summary

    Modifier and Type
    Method
    Description
    What the model should evaluate, for example "Which team should handle this ticket?".
  • Method Details

    • text

      String text()
      What the model should evaluate, for example "Which team should handle this ticket?".