public class Globals extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
buildAndSetTemporaryIncrementalCache()
Build and setup cache according to configuration setting.
|
Config |
getConfig() |
Cache |
getContentCache() |
Router |
getRouter() |
Snapshot |
getSnapshot()
Analyzes current state of the plugin system and return web resources.
|
Cache |
getTemporaryIncrementalCache() |
UrlCache |
getUrlCache() |
void |
onStateChange(com.atlassian.plugin.webresource.impl.Globals.StateChangeCallback callback)
Provided callback would be called if the state of the system changed (any plugin change event).
|
void |
triggerStateChange()
Trigger the state change event, it will notify all state change listeners.
|
public Globals(Config config)
public Config getConfig()
public Router getRouter()
public Cache getContentCache()
public void onStateChange(com.atlassian.plugin.webresource.impl.Globals.StateChangeCallback callback)
public void triggerStateChange()
public UrlCache getUrlCache()
public void buildAndSetTemporaryIncrementalCache()
public Cache getTemporaryIncrementalCache()
public Snapshot getSnapshot()
Copyright © 2019 Atlassian. All rights reserved.