Class DefaultCssResourceCounterManager
java.lang.Object
com.atlassian.confluence.plugin.webresource.DefaultCssResourceCounterManager
- All Implemented Interfaces:
CssResourceCounterManager
-
Constructor Summary
ConstructorsConstructorDescriptionDefaultCssResourceCounterManager(BandanaManager bandanaManager) DefaultCssResourceCounterManager(BandanaManager bandanaManager, TenantRegistry ignored) Deprecated, for removal: This API element is subject to removal in a future version.since 8.6 -
Method Summary
Modifier and TypeMethodDescriptionintGet the resource counter for the global CSS file.intgetSpaceCssResourceCounter(String spaceKey) Get the resource counter for a particular space's CSS file.voidCause the manager to start sending out new values for the global CSS resource counter.voidinvalidateSpaceCssResourceCounter(String spaceKey) Cause the manager to start sending out new values for the space's CSS resource counter.
-
Constructor Details
-
DefaultCssResourceCounterManager
- Since:
- 8.6
-
DefaultCssResourceCounterManager
@Deprecated(forRemoval=true) public DefaultCssResourceCounterManager(BandanaManager bandanaManager, TenantRegistry ignored) Deprecated, for removal: This API element is subject to removal in a future version.since 8.6
-
-
Method Details
-
invalidateGlobalCssResourceCounter
public void invalidateGlobalCssResourceCounter()Description copied from interface:CssResourceCounterManagerCause the manager to start sending out new values for the global CSS resource counter.- Specified by:
invalidateGlobalCssResourceCounterin interfaceCssResourceCounterManager
-
invalidateSpaceCssResourceCounter
Description copied from interface:CssResourceCounterManagerCause the manager to start sending out new values for the space's CSS resource counter.- Specified by:
invalidateSpaceCssResourceCounterin interfaceCssResourceCounterManager- Parameters:
spaceKey- the key of the space that has had its CSS changed
-
getGlobalCssResourceCounter
public int getGlobalCssResourceCounter()Description copied from interface:CssResourceCounterManagerGet the resource counter for the global CSS file. This counter should be updated every time there is a change to the global theme or colour scheme.- Specified by:
getGlobalCssResourceCounterin interfaceCssResourceCounterManager
-
getSpaceCssResourceCounter
Description copied from interface:CssResourceCounterManagerGet the resource counter for a particular space's CSS file. This counter should be updated every time there is a change to the space's theme or colour scheme.- Specified by:
getSpaceCssResourceCounterin interfaceCssResourceCounterManager- Parameters:
spaceKey- the key of the space we're viewing the CSS for, or null for the global CSS.
-