Class AbstractPluginModuleAwareCache
java.lang.Object
com.codebarrel.jira.plugin.automation.util.AbstractPluginModuleAwareCache
- All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware
- Direct Known Subclasses:
CachingTranslationsProvider,JiraTemplateRendererContextProviderFactory,LegacyAutomationModuleTracker,ThirdPartyEventRuleCacheImpl
public abstract class AbstractPluginModuleAwareCache
extends Object
implements com.atlassian.sal.api.lifecycle.LifecycleAware
NOTE: subclasses *must* also implement
LifecycleAware and add ExportAsService.-
Constructor Summary
ConstructorsConstructorDescriptionAbstractPluginModuleAwareCache(com.atlassian.plugin.event.PluginEventManager pluginEventManager, Predicate<com.atlassian.plugin.ModuleDescriptor> descriptorMatcher) -
Method Summary
Modifier and TypeMethodDescriptionabstract voidvoidonPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event) voidonPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event) voidonPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event) voidonPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event) voidonStart()voidonStop()
-
Constructor Details
-
AbstractPluginModuleAwareCache
public AbstractPluginModuleAwareCache(com.atlassian.plugin.event.PluginEventManager pluginEventManager, Predicate<com.atlassian.plugin.ModuleDescriptor> descriptorMatcher)
-
-
Method Details
-
clearCache
public abstract void clearCache() -
onPluginModuleEnabled
public void onPluginModuleEnabled(com.atlassian.plugin.event.events.PluginModuleEnabledEvent event) -
onPluginModuleDisabled
public void onPluginModuleDisabled(com.atlassian.plugin.event.events.PluginModuleDisabledEvent event) -
onPluginDisabled
public void onPluginDisabled(com.atlassian.plugin.event.events.PluginDisabledEvent event) -
onPluginEnabled
public void onPluginEnabled(com.atlassian.plugin.event.events.PluginEnabledEvent event) -
onStart
public void onStart()- Specified by:
onStartin interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
-
onStop
public void onStop()- Specified by:
onStopin interfacecom.atlassian.sal.api.lifecycle.LifecycleAware
-