Interface I_CmsConfigurationObject<X extends I_CmsConfigurationObject<X>>

Type Parameters:
X - the configuration object type which can be merged
All Known Implementing Classes:
CmsFunctionReference, CmsModelPageConfig, CmsPropertyConfig, CmsResourceTypeConfig

public interface I_CmsConfigurationObject<X extends I_CmsConfigurationObject<X>>
Interface for a single named configuration object that can either be merged with other configuration objects or disable a configuration object with the same name.

Since:
8.0.1
Version:
$Revision: 1.0$
Author:
Georg Westenberger
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Default order constant for module configurations.
  • Method Summary

    Modifier and Type
    Method
    Description
    The name of the configuration object.
    boolean
    If true, this configuration object will disable an inherited configuration object of the same name.
    merge(X child)
    Merges this configuration object with a child configuration object.
  • Field Details

  • Method Details

    • getKey

      The name of the configuration object.

      This name should be unique for each single configuration

      Returns:
      the name
    • isDisabled

      boolean isDisabled()
      If true, this configuration object will disable an inherited configuration object of the same name.

      Returns:
      true if this configuration object is marked as "disabled"
    • merge

      X merge(X child)
      Merges this configuration object with a child configuration object.

      Parameters:
      child - the child configuration object
      Returns:
      the merged configuration objects