Class YesNoQuestion.Builder
java.lang.Object
org.springframework.ai.decision.question.YesNoQuestion.Builder
- Enclosing class:
- YesNoQuestion
-
Method Summary
Modifier and TypeMethodDescriptionbuild()The question text.Describe when the answer is no.Describe when the answer is yes.
-
Method Details
-
text
The question text. -
whenYes
Describe when the answer is yes. A blank description counts as none. -
whenNo
Describe when the answer is no. A blank description counts as none. -
build
-