Package com.atlassian.confluence.themes
Class ClasspathThemeStylesheet
- java.lang.Object
-
- com.atlassian.confluence.themes.ClasspathThemeStylesheet
-
- All Implemented Interfaces:
ThemeResource
public class ClasspathThemeStylesheet extends Object implements ThemeResource
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.atlassian.confluence.themes.ThemeResource
ThemeResource.Type
-
-
Constructor Summary
Constructors Constructor Description ClasspathThemeStylesheet(String moduleKey, String name, String location)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getCompleteModuleKey()
Returns the plugin module key which this stylesheet belongs to, or the plugin key if the resource is specified at the plugin level.String
getLocation()
Returns the location of this resource as defined in the plugin xml.String
getName()
Returns the name of the stylesheet resource.ThemeResource.Type
getType()
boolean
isIeOnly()
Returns true iff theieonly
param is set to true in the plugin, false otherwise.String
toString()
-
-
-
Method Detail
-
getType
public ThemeResource.Type getType()
- Specified by:
getType
in interfaceThemeResource
-
getLocation
public String getLocation()
Description copied from interface:ThemeResource
Returns the location of this resource as defined in the plugin xml.- Specified by:
getLocation
in interfaceThemeResource
-
getCompleteModuleKey
public String getCompleteModuleKey()
Description copied from interface:ThemeResource
Returns the plugin module key which this stylesheet belongs to, or the plugin key if the resource is specified at the plugin level. Returns null if the resource is not part of a plugin.- Specified by:
getCompleteModuleKey
in interfaceThemeResource
-
getName
public String getName()
Description copied from interface:ThemeResource
Returns the name of the stylesheet resource.- Specified by:
getName
in interfaceThemeResource
-
isIeOnly
public boolean isIeOnly()
Description copied from interface:ThemeResource
Returns true iff theieonly
param is set to true in the plugin, false otherwise.- Specified by:
isIeOnly
in interfaceThemeResource
- Returns:
- true if the
ieonly
param is set to true.
-
-