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 Details

    • CmsSettingDefiningFile

      public CmsSettingDefiningFile(CmsUUID fileId, boolean formatterScoped, boolean fromOverride)
      Creates a new instance.

      Parameters:
      fileId - the file structure id
      formatterScoped - whether the matching definition is formatter-specific
      fromOverride - whether the file is a sitemap setting override
  • Method Details

    • getFileId

      public CmsUUID getFileId()
      Gets the structure id of the defining shared setting configuration file.

      Returns:
      the file structure id
    • isFormatterScoped

      public boolean isFormatterScoped()
      Returns whether the matching definition is keyed to the formatter (vs. the global setting).

      Returns:
      true if the definition is formatter-specific
    • isFromOverride

      public boolean isFromOverride()
      Returns whether the file is a sitemap setting override (vs. a formatter shared setting).

      Returns:
      true if the file is a sitemap setting override