Class SurveyRule
- java.lang.Object
-
- org.ametys.plugins.survey.repository.SurveyRule
-
public class SurveyRule extends Object
Class representing a survey rule on a page or question.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SurveyRule.RuleType
Type of a page.
-
Constructor Summary
Constructors Constructor Description SurveyRule(String option, SurveyRule.RuleType type, String page)
ConstructorSurveyRule(SurveyRule.RuleType type, String page)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getOption()
Get the selected optionString
getPage()
Get the page to jump or skip.SurveyRule.RuleType
getType()
Get the type
-
-
-
Constructor Detail
-
SurveyRule
public SurveyRule(SurveyRule.RuleType type, String page)
Constructor- Parameters:
type
- the typepage
- the page to jump or skip
-
SurveyRule
public SurveyRule(String option, SurveyRule.RuleType type, String page)
Constructor- Parameters:
option
- the selected optiontype
- the typepage
- the page to jump or skip
-
-