public class DecoratorName extends Object
Constructor and Description |
---|
DecoratorName(String source) |
DecoratorName(String spaceKey,
String templateName) |
Modifier and Type | Method and Description |
---|---|
String |
getSource() |
String |
getSpaceKey() |
String |
getTemplateName() |
boolean |
isGlobalDecorator() |
boolean |
isSpaceDecorator() |
static boolean |
isSpaceDecoratorSource(String source) |
String |
toString() |
public DecoratorName(String spaceKey, String templateName)
spaceKey
- if a space custom decorator the key of the space, otherwise null.templateName
- the name of the template, usually a path on the filesystem.public DecoratorName(String source)
source
- the full path of the decorator, which will be split according to the
decorator path name rules.IllegalArgumentException
- if there is a problem parsing the sourcepublic static boolean isSpaceDecoratorSource(String source)
public String getSpaceKey()
public String getTemplateName()
public boolean isGlobalDecorator()
public boolean isSpaceDecorator()
public String getSource()
Copyright © 2003–2015 Atlassian. All rights reserved.