public class EvaluationFormSingleSelectQuestionAutomation
extends java.lang.Object
implements java.io.Serializable
Information about the automation configuration in single select questions. Automation options are evaluated in order, and the first matched option is applied. If no automation option matches, and there is a default option, then the default option is applied.
| Constructor and Description |
|---|
EvaluationFormSingleSelectQuestionAutomation() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDefaultOptionRefId()
The identifier of the default answer option, when none of the automation
options match the criteria.
|
java.util.List<EvaluationFormSingleSelectQuestionAutomationOption> |
getOptions()
The automation options of the single select question.
|
int |
hashCode() |
void |
setDefaultOptionRefId(java.lang.String defaultOptionRefId)
The identifier of the default answer option, when none of the automation
options match the criteria.
|
void |
setOptions(java.util.Collection<EvaluationFormSingleSelectQuestionAutomationOption> options)
The automation options of the single select question.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EvaluationFormSingleSelectQuestionAutomation |
withDefaultOptionRefId(java.lang.String defaultOptionRefId)
The identifier of the default answer option, when none of the automation
options match the criteria.
|
EvaluationFormSingleSelectQuestionAutomation |
withOptions(java.util.Collection<EvaluationFormSingleSelectQuestionAutomationOption> options)
The automation options of the single select question.
|
EvaluationFormSingleSelectQuestionAutomation |
withOptions(EvaluationFormSingleSelectQuestionAutomationOption... options)
The automation options of the single select question.
|
public EvaluationFormSingleSelectQuestionAutomation()
public java.util.List<EvaluationFormSingleSelectQuestionAutomationOption> getOptions()
The automation options of the single select question.
The automation options of the single select question.
public void setOptions(java.util.Collection<EvaluationFormSingleSelectQuestionAutomationOption> options)
The automation options of the single select question.
options - The automation options of the single select question.
public EvaluationFormSingleSelectQuestionAutomation withOptions(EvaluationFormSingleSelectQuestionAutomationOption... options)
The automation options of the single select question.
Returns a reference to this object so that method calls can be chained together.
options - The automation options of the single select question.
public EvaluationFormSingleSelectQuestionAutomation withOptions(java.util.Collection<EvaluationFormSingleSelectQuestionAutomationOption> options)
The automation options of the single select question.
Returns a reference to this object so that method calls can be chained together.
options - The automation options of the single select question.
public java.lang.String getDefaultOptionRefId()
The identifier of the default answer option, when none of the automation options match the criteria.
Constraints:
Length: 1 - 40
The identifier of the default answer option, when none of the automation options match the criteria.
public void setDefaultOptionRefId(java.lang.String defaultOptionRefId)
The identifier of the default answer option, when none of the automation options match the criteria.
Constraints:
Length: 1 - 40
defaultOptionRefId - The identifier of the default answer option, when none of the automation options match the criteria.
public EvaluationFormSingleSelectQuestionAutomation withDefaultOptionRefId(java.lang.String defaultOptionRefId)
The identifier of the default answer option, when none of the automation options match the criteria.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 40
defaultOptionRefId - The identifier of the default answer option, when none of the automation options match the criteria.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object