Package com.atlassian.confluence.themes
Interface ThemeResource
-
- All Known Implementing Classes:
ClasspathThemeStylesheet,PluginThemeResource
public interface ThemeResourceRepresents a custom stylesheet or javascript associated with a theme.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classThemeResource.Type
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCompleteModuleKey()Returns the plugin module key which this stylesheet belongs to, or the plugin key if the resource is specified at the plugin level.StringgetLocation()Returns the location of this resource as defined in the plugin xml.StringgetName()Returns the name of the stylesheet resource.ThemeResource.TypegetType()booleanisIeOnly()Returns true iff theieonlyparam is set to true in the plugin, false otherwise.
-
-
-
Method Detail
-
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 theieonlyparam is set to true in the plugin, false otherwise.- Returns:
- true if the
ieonlyparam is set to true.
-
-