-
public final class PollsConfigConfiguration for the poll creation screen.
-
-
Field Summary
Fields Modifier and Type Field Description private final PollFeatureConfigmultipleVotesprivate final PollFeatureConfigmaxVotesPerPersonprivate final PollFeatureConfiganonymousPollprivate final PollFeatureConfigsuggestAnOptionprivate final PollFeatureConfigallowComments
-
Constructor Summary
Constructors Constructor Description PollsConfig(PollFeatureConfig multipleVotes, PollFeatureConfig maxVotesPerPerson, PollFeatureConfig anonymousPoll, PollFeatureConfig suggestAnOption, PollFeatureConfig allowComments)
-
Method Summary
Modifier and Type Method Description final PollFeatureConfiggetMultipleVotes()final PollFeatureConfiggetMaxVotesPerPerson()final PollFeatureConfiggetAnonymousPoll()final PollFeatureConfiggetSuggestAnOption()final PollFeatureConfiggetAllowComments()-
-
Constructor Detail
-
PollsConfig
PollsConfig(PollFeatureConfig multipleVotes, PollFeatureConfig maxVotesPerPerson, PollFeatureConfig anonymousPoll, PollFeatureConfig suggestAnOption, PollFeatureConfig allowComments)
- Parameters:
multipleVotes- Configuration for the "multiple votes" toggle.maxVotesPerPerson- Configuration for the "limit votes per person" toggle (child of "multiple votes").anonymousPoll- Configuration for the "anonymous poll" toggle.suggestAnOption- Configuration for the "suggest an option" toggle.allowComments- Configuration for the "allow comments" toggle.
-
-
Method Detail
-
getMultipleVotes
final PollFeatureConfig getMultipleVotes()
-
getMaxVotesPerPerson
final PollFeatureConfig getMaxVotesPerPerson()
-
getAnonymousPoll
final PollFeatureConfig getAnonymousPoll()
-
getSuggestAnOption
final PollFeatureConfig getSuggestAnOption()
-
getAllowComments
final PollFeatureConfig getAllowComments()
-
-
-
-