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 classSurveyRule.RuleTypeType 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 StringgetOption()Get the selected optionStringgetPage()Get the page to jump or skip.SurveyRule.RuleTypegetType()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
-
-