Package com.atlassian.confluence.themes
Interface ThemeResource
- All Known Implementing Classes:
ClasspathThemeStylesheet
,PluginThemeResource
public interface ThemeResource
Represents a custom stylesheet or javascript associated with a theme.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionReturns the plugin module key which this stylesheet belongs to, or the plugin key if the resource is specified at the plugin level.Returns the location of this resource as defined in the plugin xml.getName()
Returns the name of the stylesheet resource.getType()
boolean
isIeOnly()
Returns true iff theieonly
param is set to true in the plugin, false otherwise.
-
Method Details
-
getType
ThemeResource.Type getType() -
getLocation
String getLocation()Returns the location of this resource as defined in the plugin xml. -
getCompleteModuleKey
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. Returns null if the resource is not part of a plugin. -
getName
String getName()Returns the name of the stylesheet resource. -
isIeOnly
boolean isIeOnly()Returns true iff theieonly
param is set to true in the plugin, false otherwise.- Returns:
- true if the
ieonly
param is set to true.
-