Class CmsTransformerTemplateProvider.Configuration

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.String,​CmsTemplateContext> getContextMap()
      Gets the map of template contexts, with their internal names as keys.
      java.util.regex.Pattern getFunctionFilter​(java.lang.String key)
      Gets the function filter pattern used to filter dynamic function paths.
      CmsJsonMessageContainer getMenuLabel()
      Gets the label for the context menu
      java.lang.String getTemplateCompatibility​(java.lang.String currentContext)
      Gets the template compatibility for the given template context.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getContextMap

        public java.util.Map<java.lang.String,​CmsTemplateContextgetContextMap()
        Gets the map of template contexts, with their internal names as keys.
        Returns:
        the map of template contexts
      • getFunctionFilter

        public java.util.regex.Pattern getFunctionFilter​(java.lang.String key)
        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
      • getTemplateCompatibility

        public java.lang.String getTemplateCompatibility​(java.lang.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