Class DefaultFlowConfigFallbackStrategy

    • Constructor Detail

      • DefaultFlowConfigFallbackStrategy

        public DefaultFlowConfigFallbackStrategy()
    • Method Detail

      • loadFallbackConfiguration

        public Flow loadFallbackConfiguration​(ConfigContext context,
                                              java.lang.Class<Flow> configurationType)
        Description copied from interface: CockpitConfigurationFallbackStrategy
        Generates and loads a fallback configuration for the given context and configuration type.
        Parameters:
        context - configuration context
        configurationType - type of configuration to be loaded
        Returns:
        created fallback configuration or null if the strategy can not create a fallback configuration for the given context and type
      • createPrepareSection

        protected PrepareType createPrepareSection​(java.lang.String type)
      • setupWizardTitle

        protected void setupWizardTitle​(Flow flow,
                                        java.lang.String type)
      • createFirstStep

        protected StepType createFirstStep()
      • readType

        protected java.lang.String readType​(ConfigContext context)
      • addAllMandatoryFieldsToStep

        protected void addAllMandatoryFieldsToStep​(StepType step1,
                                                   java.lang.String type)
      • prepareMandatoryAttribute

        protected java.util.Optional<PropertyType> prepareMandatoryAttribute​(DataType dataType,
                                                                             java.lang.String qualifier)
      • setPermissionFacade

        public void setPermissionFacade​(PermissionFacade permissionFacade)