Class DecisionQuestion
java.lang.Object
com.alibaba.dashscope.legacy_2x.decision.DecisionQuestion
Deprecated.
A single question for the decision model. Use the static factory methods
choice(java.lang.String, java.util.Map<java.lang.String, java.lang.String>), noul(java.lang.String) and score(java.lang.String, java.util.List<java.lang.String>) to create instances.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classDeprecated.static final classDeprecated.Question types. -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Deprecated.protected booleanDeprecated.static DecisionQuestionDeprecated.booleanDeprecated.Deprecated.The question criteria.Deprecated.The question description or evaluation criteria.getType()Deprecated.The question type, one ofDecisionQuestion.Types.inthashCode()Deprecated.static DecisionQuestionDeprecated.static DecisionQuestionDeprecated.Noul question with explicit yes/no descriptions.static DecisionQuestionDeprecated.voidsetCriteria(Object criteria) Deprecated.The question criteria.voidsetInstructions(String instructions) Deprecated.The question description or evaluation criteria.voidDeprecated.The question type, one ofDecisionQuestion.Types.toString()Deprecated.
-
Method Details
-
choice
Deprecated. -
noul
Deprecated. -
noul
Deprecated.Noul question with explicit yes/no descriptions. Both arguments are optional; passnullto omit either. -
score
Deprecated. -
builder
Deprecated. -
getType
Deprecated.The question type, one ofDecisionQuestion.Types. -
getInstructions
Deprecated.The question description or evaluation criteria. Documented as optional but usually set. -
getCriteria
Deprecated.The question criteria.DecisionQuestion.Types.CHOICE:Map<String, String>of option name to option description (1–255 entries).DecisionQuestion.Types.SCORE:List<String>of level descriptions ordered low to high (2–10 levels).DecisionQuestion.Types.NOUL: optionalMap<String, String>with"true"/"false"keys.
-
setType
Deprecated.The question type, one ofDecisionQuestion.Types. -
setInstructions
Deprecated.The question description or evaluation criteria. Documented as optional but usually set. -
setCriteria
Deprecated.The question criteria.DecisionQuestion.Types.CHOICE:Map<String, String>of option name to option description (1–255 entries).DecisionQuestion.Types.SCORE:List<String>of level descriptions ordered low to high (2–10 levels).DecisionQuestion.Types.NOUL: optionalMap<String, String>with"true"/"false"keys.
-
equals
Deprecated. -
canEqual
Deprecated. -
hashCode
public int hashCode()Deprecated. -
toString
Deprecated.
-