Class CmsADEConfigurationSequence

java.lang.Object
org.opencms.ade.configuration.CmsADEConfigurationSequence

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

Used for computing the configuration inheritance.

  • Constructor Details

  • Method Details

    • getConfig

      Gets the current configuration data.

      Returns:
      the current configuration data
    • getConfigPaths

      Gets the list of configuration file paths in inheritance order, not including the module configuration.
      Returns:
      the list of configuration file paths
    • 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<CmsADEConfigurationSequence> getParent()
      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