-
public final class SimpleAnswerConfiguration extends AnswerConfiguration
An AnswerConfiguration with only SimpleAnswer (ie labels) answers.
-
-
Field Summary
Fields Modifier and Type Field Description private final List<SimpleAnswer>answersprivate final AnswerConfigurationTypeanswerType
-
Constructor Summary
Constructors Constructor Description SimpleAnswerConfiguration(List<SimpleAnswer> answers)
-
Method Summary
Modifier and Type Method Description BooleanhasAnswer()Is there an answer set? final List<SimpleAnswer>component1()final SimpleAnswerConfigurationcopy(List<SimpleAnswer> answers)final List<SimpleAnswer>getAnswers()final AnswerConfigurationTypegetAnswerType()-
-
Constructor Detail
-
SimpleAnswerConfiguration
SimpleAnswerConfiguration(List<SimpleAnswer> answers)
-
-
Method Detail
-
component1
final List<SimpleAnswer> component1()
-
copy
final SimpleAnswerConfiguration copy(List<SimpleAnswer> answers)
-
getAnswers
final List<SimpleAnswer> getAnswers()
-
getAnswerType
final AnswerConfigurationType getAnswerType()
-
-
-
-