Class CmsADEConfigurationSequence


  • public class CmsADEConfigurationSequence
    extends java.lang.Object
    Represents a sequence of inherited module/sitemap configurations, together with an index into that list.

    Used for computing the configuration inheritance.

    • Method Detail

      • getConfigPaths

        public java.util.List<java.lang.String> getConfigPaths()
        Gets the list of configuration file paths in inheritance order, not including the module configuration.
        Returns:
        the list of configuration file paths
      • getMeta

        public CmsADEConfigDataInternal.ConfigReferenceMeta getMeta()
        Gets the metadata associated with the path of master configuration references to the current configuration.
        Returns:
        the metadata associated with the path of master configuration references to the current configuration.
      • getParent

        public com.google.common.base.Optional<CmsADEConfigurationSequencegetParent()
        Returns a sequence which only differs from this instance in that its index is one less.

        However, if the index of this instance is already 0, Optional.absent will be returned.

        Returns:
        the parent sequence, or Optional.absent if we are already at the start of the sequence