Skip navigation links
org.hippoecm.hst.configuration.components

Interface HstComponentsConfiguration

    • Method Detail

      • getComponentConfigurations

        Map<String,HstComponentConfiguration> getComponentConfigurations()

        Return the map of all *non prototype* canonical HstComponentConfiguration's where the keys are the the HstComponentConfiguration's (HstComponentInfo.getId()). Implementations should return an unmodifiable map to avoid client code changing configuration

        With canonical we mean the HstComponentConfiguration's that are explicitly configured in the hst configuration and not a result of inheritance

      • getComponentConfiguration

        HstComponentConfiguration getComponentConfiguration(String id)

        Returns the canonical HstComponentConfiguration whose HstComponentInfo.getId() equals this id.

        With canonical we mean the HstComponentConfiguration's that are explicitly configured in the hst configuration and not a result of inheritance

        Parameters:
        id - the id of the canonical HstComponentConfiguration
        Returns:
        a canonical HstComponentConfiguration whose HstComponentInfo.getId() equals this id. When there is no HstComponentConfiguration with this id, null is returned.
      • getXPages

        Map<String,HstComponentConfiguration> getXPages()
        Returns:
        the map of HstComponentConfigurations that are xpage layouts where the keys are the names of the XPage node names (since XPages are only allowed below a single hst configuration node without inheriting from parent configurations, the node name is unique within a HstComponentsConfiguration). Unmodifiable instance will be returned. Empty map will be returned if no xpages are available

Copyright © 2008–2021 Hippo B.V. (http://www.onehippo.com). All rights reserved.