public class

DefaultDecorator

extends Object
java.lang.Object
   ↳ com.atlassian.confluence.admin.actions.lookandfeel.DefaultDecorator

Class Overview

Decorator for the all the default decorators bundled with Confluence

Summary

Constants
String TYPE_CONTENT
String TYPE_DECORATOR
String TYPE_EXPORT
Public Methods
boolean equals(Object o)
static DefaultDecorator getByFileName(String fileName)
Returns a registered default decorator, matched by decorator file name.
static List<DefaultDecorator> getDecorators(String type)
Get registered decorators by type.
static List<DefaultDecorator> getDecorators()
Get all registered default decorators.
String getDescriptionKey()
String getFileName()
String getKey()
String getNameKey()
String getType()
String getTypeDescriptionKey()
String getTypeNameKey()
int hashCode()
String toString()
[Expand]
Inherited Methods
From class java.lang.Object

Constants

public static final String TYPE_CONTENT

Constant Value: "content"

public static final String TYPE_DECORATOR

Constant Value: "decorator"

public static final String TYPE_EXPORT

Constant Value: "export"

Public Methods

public boolean equals (Object o)

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.

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

public static List<DefaultDecorator> getDecorators ()

Get all registered default decorators.

Returns
  • List of default decorators

public String getDescriptionKey ()

public String getFileName ()

public String getKey ()

public String getNameKey ()

public String getType ()

public String getTypeDescriptionKey ()

public String getTypeNameKey ()

public int hashCode ()

public String toString ()