Class DefaultDecorator


  • public class DefaultDecorator
    extends Object
    Decorator for the all the default decorators bundled with Confluence
    • Method Detail

      • getDecorators

        public static List<DefaultDecorator> getDecorators()
        Get all registered default decorators.
        Returns:
        List of default decorators
      • getDecorators

        public static List<DefaultDecorator> getDecorators​(String type)
        Get registered decorators by type.
        Parameters:
        type - Decorator type from DefaultDecorator type contstants
        Returns:
        Matching decorators; null if type is null or no matching decorators are found
      • getByFileName

        public static DefaultDecorator getByFileName​(String fileName)
        Returns a registered default decorator, matched by decorator file name.
        Parameters:
        fileName - File name of the decorator
        Returns:
        Matching decorator or null if none are found.
      • getFileName

        public String getFileName()
      • getKey

        public String getKey()
      • getType

        public String getType()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getNameKey

        public String getNameKey()
      • getDescriptionKey

        public String getDescriptionKey()
      • getTypeNameKey

        public String getTypeNameKey()
      • getTypeDescriptionKey

        public String getTypeDescriptionKey()