-
@Immutable() public final class SurveyConfigFirestore schema types for surveys (SPEC-023).
SPEC-070-A J.10 + J.22 — Compose stability: SurveyActivity threads these DTOs directly into Composables. Hot iterables (
questions,options,conditions) are migrated toImmutableList<T>and the data classes are annotated@Immutable(or@Stablewhere untyped passthrough fields remain).
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSurveyConfig.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Stringnameprivate final StringsurveyTypeprivate final ImmutableList<SurveyQuestion>questionsprivate final SurveyTriggerRulestriggerRulesprivate final SurveyAppearanceappearanceprivate final SurveyFollowUpActionsfollowUpActions
-
Constructor Summary
Constructors Constructor Description SurveyConfig(String name, String surveyType, ImmutableList<SurveyQuestion> questions, SurveyTriggerRules triggerRules, SurveyAppearance appearance, SurveyFollowUpActions followUpActions)
-
Method Summary
Modifier and Type Method Description final StringgetName()final StringgetSurveyType()final ImmutableList<SurveyQuestion>getQuestions()final SurveyTriggerRulesgetTriggerRules()final SurveyAppearancegetAppearance()final SurveyFollowUpActionsgetFollowUpActions()-
-
Constructor Detail
-
SurveyConfig
SurveyConfig(String name, String surveyType, ImmutableList<SurveyQuestion> questions, SurveyTriggerRules triggerRules, SurveyAppearance appearance, SurveyFollowUpActions followUpActions)
-
-
Method Detail
-
getSurveyType
final String getSurveyType()
-
getQuestions
final ImmutableList<SurveyQuestion> getQuestions()
-
getTriggerRules
final SurveyTriggerRules getTriggerRules()
-
getAppearance
final SurveyAppearance getAppearance()
-
getFollowUpActions
final SurveyFollowUpActions getFollowUpActions()
-
-
-
-