com.atlassian.confluence.plugin.webresource
Interface ConfluenceWebResourceManager
- All Superinterfaces:
- WebResourceManager
- All Known Implementing Classes:
- DefaultConfluenceWebResourceManager
- public interface ConfluenceWebResourceManager
- extends WebResourceManager
getGlobalCssResourcePrefix
public String getGlobalCssResourcePrefix()
- Get the resource prefix for the global CSS file. This prefix should be updated every time there is a change
to the global theme or colour scheme.
getSpaceCssPrefix
public String getSpaceCssPrefix(String spaceKey)
- Get the resource prefix for a particular space's CSS file. This prefix should be updated every time there is a
change to the space's theme or colour scheme.
- Parameters:
spaceKey
- the key of the space we're viewing the CSS for.
invalidateGlobalCss
public void invalidateGlobalCss()
- Cause the manager to start sending out new values for the global CSS resource prefix.
invalidateSpaceCss
public void invalidateSpaceCss(String spaceKey)
- Cause the manager to start sending out new values for the space's CSS resource prefix.
- Parameters:
spaceKey
- the key of the space that has had its CSS changed