public class SurveyRule extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SurveyRule.RuleType
Type of a page.
|
Modifier and Type | Field and Description |
---|---|
private String |
_option |
private String |
_page |
private SurveyRule.RuleType |
_type |
Constructor and Description |
---|
SurveyRule(String option,
SurveyRule.RuleType type,
String page)
Constructor
|
SurveyRule(SurveyRule.RuleType type,
String page)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getOption()
Get the selected option
|
String |
getPage()
Get the page to jump or skip.
|
SurveyRule.RuleType |
getType()
Get the type
|
private SurveyRule.RuleType _type
public SurveyRule(SurveyRule.RuleType type, String page)
type
- the typepage
- the page to jump or skippublic SurveyRule(String option, SurveyRule.RuleType type, String page)
option
- the selected optiontype
- the typepage
- the page to jump or skip