-
@Stable() public final class StepConfigStep configuration -- varies by step type.
SPEC-070-A J.10 — @Stable rather than @Immutable:
layout,field_defaultsandlocalizationsare JSON passthrough Map fields (per J.22 EXCLUDE rule). Compose-stable iterables (options/items/fields/content_blocks/next_step_rules) are migrated to ImmutableList<T> below so a re-emit with structurally-equal lists doesn't trigger downstream recomposition.
-
-
Field Summary
-
Constructor Summary
Constructors Constructor Description StepConfig(String title, String subtitle, String image_url, String cta_text, Boolean skip_enabled, ImmutableList<QuestionOption> options, SelectionMode selection_mode, ImmutableList<ValuePropItem> items, Map<String, Object> layout, ImmutableList<FormField> fields, String validation_mode, Map<String, Object> field_defaults, ChatConfig chat_config, ImmutableList<ContentBlock> content_blocks, String layout_variant, BackgroundStyleConfig background, TextStyleConfig text_style, ElementStyleConfig element_style, AnimationConfig animation, Map<String, Map<String, String>> localizations, String default_locale, ImmutableList<NextStepRule> next_step_rules, String progress_color, String permission_type, Boolean show_settings_fallback_on_denied, String settings_fallback_label)
-
Method Summary
-
-
Constructor Detail
-
StepConfig
StepConfig(String title, String subtitle, String image_url, String cta_text, Boolean skip_enabled, ImmutableList<QuestionOption> options, SelectionMode selection_mode, ImmutableList<ValuePropItem> items, Map<String, Object> layout, ImmutableList<FormField> fields, String validation_mode, Map<String, Object> field_defaults, ChatConfig chat_config, ImmutableList<ContentBlock> content_blocks, String layout_variant, BackgroundStyleConfig background, TextStyleConfig text_style, ElementStyleConfig element_style, AnimationConfig animation, Map<String, Map<String, String>> localizations, String default_locale, ImmutableList<NextStepRule> next_step_rules, String progress_color, String permission_type, Boolean show_settings_fallback_on_denied, String settings_fallback_label)
-
-
Method Detail
-
getSubtitle
final String getSubtitle()
-
getImage_url
final String getImage_url()
-
getCta_text
final String getCta_text()
-
getSkip_enabled
final Boolean getSkip_enabled()
-
getOptions
final ImmutableList<QuestionOption> getOptions()
-
getSelection_mode
final SelectionMode getSelection_mode()
-
getItems
final ImmutableList<ValuePropItem> getItems()
-
getValidation_mode
final String getValidation_mode()
-
getField_defaults
final Map<String, Object> getField_defaults()
-
getChat_config
final ChatConfig getChat_config()
-
getContent_blocks
final ImmutableList<ContentBlock> getContent_blocks()
-
getLayout_variant
final String getLayout_variant()
-
getBackground
final BackgroundStyleConfig getBackground()
-
getText_style
final TextStyleConfig getText_style()
-
getElement_style
final ElementStyleConfig getElement_style()
-
getAnimation
final AnimationConfig getAnimation()
-
getDefault_locale
final String getDefault_locale()
-
getNext_step_rules
final ImmutableList<NextStepRule> getNext_step_rules()
-
getProgress_color
final String getProgress_color()
-
getPermission_type
final String getPermission_type()
-
getShow_settings_fallback_on_denied
final Boolean getShow_settings_fallback_on_denied()
-
getSettings_fallback_label
final String getSettings_fallback_label()
-
-
-
-