Package org.opencms.ade.configuration
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
Modifier and TypeFieldDescriptionstatic final int
Default order constant for module configurations. -
Method Summary
-
Field Details
-
DEFAULT_ORDER
Default order constant for module configurations.- See Also:
-
-
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
Merges this configuration object with a child configuration object.- Parameters:
child
- the child configuration object- Returns:
- the merged configuration objects
-