Interface DecisionQuestion
- All Known Implementing Classes:
ChoiceQuestion,ScoreQuestion,YesNoQuestion
A question a
DecisionModel answers about an input: a YesNoQuestion, a
ChoiceQuestion or a ScoreQuestion. The interface is sealed, like
DecisionInput, so that providers and
applications can handle every kind of question exhaustively; a new kind is an addition
to the API, not to a provider.- Since:
- 2.1.0
- Author:
- Thomas Vitale, Christian Tzolov
-
Method Summary
-
Method Details
-
getText
String getText()The question text, which tells the model what to decide.
-