Interface CssResourceCounterManager
- All Known Implementing Classes:
DefaultCssResourceCounterManager
public interface CssResourceCounterManager
-
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.
-
Method Details
-
getGlobalCssResourceCounter
int getGlobalCssResourceCounter()Get 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. -
getSpaceCssResourceCounter
Get 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.- Parameters:
spaceKey- the key of the space we're viewing the CSS for, or null for the global CSS.
-
invalidateGlobalCssResourceCounter
void invalidateGlobalCssResourceCounter()Cause the manager to start sending out new values for the global CSS resource counter. -
invalidateSpaceCssResourceCounter
Cause the manager to start sending out new values for the space's CSS resource counter.- Parameters:
spaceKey- the key of the space that has had its CSS changed
-