Class CmsSettingConfiguration.CmsSettingDefiningFile
java.lang.Object
org.opencms.ade.configuration.formatters.CmsSettingConfiguration.CmsSettingDefiningFile
- Enclosing class:
CmsSettingConfiguration
The shared setting configuration file that defines a setting, for configuration origin discovery:
the file's structure id, whether the matching definition is formatter-specific, and whether it
comes from a sitemap setting override (rather than the formatter's own shared settings).
-
Constructor Summary
ConstructorsConstructorDescriptionCmsSettingDefiningFile(CmsUUID fileId, boolean formatterScoped, boolean fromOverride) Creates a new instance. -
Method Summary
Modifier and TypeMethodDescriptionGets the structure id of the defining shared setting configuration file.booleanReturns whether the matching definition is keyed to the formatter (vs.booleanReturns whether the file is a sitemap setting override (vs.
-
Constructor Details
-
CmsSettingDefiningFile
Creates a new instance.- Parameters:
fileId- the file structure idformatterScoped- whether the matching definition is formatter-specificfromOverride- whether the file is a sitemap setting override
-
-
Method Details
-
getFileId
Gets the structure id of the defining shared setting configuration file.- Returns:
- the file structure id
-
isFormatterScoped
Returns whether the matching definition is keyed to the formatter (vs. the global setting).- Returns:
trueif the definition is formatter-specific
-
isFromOverride
Returns whether the file is a sitemap setting override (vs. a formatter shared setting).- Returns:
trueif the file is a sitemap setting override
-