Class DefaultDecorator
- java.lang.Object
-
- com.atlassian.confluence.admin.actions.lookandfeel.DefaultDecorator
-
public class DefaultDecorator extends Object
Decorator for the all the default decorators bundled with Confluence
-
-
Field Summary
Fields Modifier and Type Field Description static String
TYPE_CONTENT
static String
TYPE_DECORATOR
static String
TYPE_EXPORT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
static DefaultDecorator
getByFileName(String fileName)
Returns a registered default decorator, matched by decorator file name.static List<DefaultDecorator>
getDecorators()
Get all registered default decorators.static List<DefaultDecorator>
getDecorators(String type)
Get registered decorators by type.String
getDescriptionKey()
String
getFileName()
String
getKey()
String
getNameKey()
String
getType()
String
getTypeDescriptionKey()
String
getTypeNameKey()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
TYPE_DECORATOR
public static final String TYPE_DECORATOR
- See Also:
- Constant Field Values
-
TYPE_EXPORT
public static final String TYPE_EXPORT
- See Also:
- Constant Field Values
-
TYPE_CONTENT
public static final String TYPE_CONTENT
- See Also:
- Constant Field Values
-
-
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()
-
getNameKey
public String getNameKey()
-
getDescriptionKey
public String getDescriptionKey()
-
getTypeNameKey
public String getTypeNameKey()
-
getTypeDescriptionKey
public String getTypeDescriptionKey()
-
-