Class CmsTransformerTemplateProvider.Configuration

java.lang.Object
org.opencms.loader.CmsTransformerTemplateProvider.Configuration
Enclosing class:
CmsTransformerTemplateProvider

Contains the configuration data for the provider, usually read from a configuration file.
  • Constructor Details

  • Method Details

    • getContextMap

      Gets the map of template contexts, with their internal names as keys.
      Returns:
      the map of template contexts
    • getFunctionFilter

      Gets the function filter pattern used to filter dynamic function paths.

      If this returns null, dynamic functions shouldn't be filtered.

      Parameters:
      key - the template context key
      Returns:
      the dynamic function filter
    • getMenuLabel

      Gets the label for the context menu
      Returns:
      the label for the context menu
    • getTemplateCompatibility

      public String getTemplateCompatibility(String currentContext)
      Gets the template compatibility for the given template context.
      Parameters:
      currentContext - the current template context
      Returns:
      the template compatibility for the template context