Class DefaultSummaryViewConfigurationFallbackStrategy

    • Field Detail

      • LABEL_SECTION_ESSENTIAL

        protected static final java.lang.String LABEL_SECTION_ESSENTIAL
        See Also:
        Constant Field Values
    • Constructor Detail

      • DefaultSummaryViewConfigurationFallbackStrategy

        public DefaultSummaryViewConfigurationFallbackStrategy()
    • Method Detail

      • loadFallbackConfiguration

        public SummaryView loadFallbackConfiguration​(ConfigContext context,
                                                     java.lang.Class<SummaryView> 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
      • addMandatoryAttributesToSection

        protected void addMandatoryAttributesToSection​(ConfigContext context,
                                                       Section section)
      • getTypeFromContext

        protected java.lang.String getTypeFromContext​(ConfigContext context)
      • addAttributeToList

        protected void addAttributeToList​(java.util.List<Positioned> attributes,
                                          java.lang.String attributeName)