Interface MacroTransformationConfiguration


  • @Role
    public interface MacroTransformationConfiguration
    Configuration properties for the Macro Transformation module.

    You can override the default values for each of the configuration properties below by defining them in XWiki's global configuration file using a prefix of "rendering.transformation.macro." followed by the property name. For example: rendering.transformation.macro.categories = toc:my Category

    You can also override the default set of hidden macros by defining the rendering.transformation.macro.hiddenCategories property.

    Since:
    2.6RC1
    Version:
    $Id: 09ab861e9c3af02b3042870b8e00d3baf0356fbc $
    • Method Detail

      • getCategories

        Properties getCategories()
        Returns:
        the category names to use for the macros. These are the categories under which they'll be listed in UIs for example. If a category for a macro is null then the category defined in the macro descriptor (ie defined by the macro author) will be used
      • getHiddenCategories

        @Unstable
        default Set<String> getHiddenCategories()
        Returns:
        the set of hidden categories (e.g., "Deprecated", "Internal")
        Since:
        14.8RC1