Class SurveyRule
java.lang.Object
org.ametys.plugins.survey.repository.SurveyRule
Class representing a survey rule on a page or question.
-
Nested Class Summary
-
Constructor Summary
ConstructorDescriptionSurveyRule
(String option, SurveyRule.RuleType type, String page) ConstructorSurveyRule
(SurveyRule.RuleType type, String page) Constructor -
Method Summary
-
Constructor Details
-
SurveyRule
Constructor- Parameters:
type
- the typepage
- the page to jump or skip
-
SurveyRule
Constructor- Parameters:
option
- the selected optiontype
- the typepage
- the page to jump or skip
-
-
Method Details
-
getOption
Get the selected option- Returns:
- the selected option
-
getType
Get the type- Returns:
- the type
-
getPage
Get the page to jump or skip. Can be null.- Returns:
- the page to jump or skip
-