Package com.longbridge.agent
Class Question
- java.lang.Object
-
- com.longbridge.agent.Question
-
public class Question extends Object
One question the Agent needs you to answer
-
-
Constructor Summary
Constructors Constructor Description Question()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuestionOption[]getOptions()Returns the options; empty means free-form answer.StringgetQuestion()Returns the question text.booleanisMultiSelect()Returns whether multiple options may be selected.StringtoString()
-
-
-
Method Detail
-
getQuestion
public String getQuestion()
Returns the question text.- Returns:
- question text
-
getOptions
public QuestionOption[] getOptions()
Returns the options; empty means free-form answer.- Returns:
- options
-
isMultiSelect
public boolean isMultiSelect()
Returns whether multiple options may be selected.- Returns:
trueif multiple options may be selected
-
-