Class ThirdPartyEventRuleCacheImpl
java.lang.Object
com.codebarrel.jira.plugin.automation.util.AbstractPluginModuleAwareCache
com.codebarrel.jira.plugin.automation.event.ThirdPartyEventRuleCacheImpl
- All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware,ThirdPartyEventRuleCache
@Named
public class ThirdPartyEventRuleCacheImpl
extends AbstractPluginModuleAwareCache
implements ThirdPartyEventRuleCache, com.atlassian.sal.api.lifecycle.LifecycleAware
-
Constructor Summary
ConstructorsConstructorDescriptionThirdPartyEventRuleCacheImpl(com.atlassian.cache.CacheManager cacheManager, com.atlassian.plugin.event.PluginEventManager pluginEventManager, ThirdPartyComponentModuleTracker thirdPartyComponentModuleTracker, InjectorProvider injectorProvider) -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clear the entire cache.voidList<com.codebarrel.automation.api.config.RuleConfigBean>getEnabledRulesforTrigger(String completeModuleKey) Return all rules using a third party trigger with the specified module key.Methods inherited from class com.codebarrel.jira.plugin.automation.util.AbstractPluginModuleAwareCache
onPluginDisabled, onPluginEnabled, onPluginModuleDisabled, onPluginModuleEnabled, onStart, onStopMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.sal.api.lifecycle.LifecycleAware
onStart, onStop
-
Constructor Details
-
ThirdPartyEventRuleCacheImpl
@Inject public ThirdPartyEventRuleCacheImpl(com.atlassian.cache.CacheManager cacheManager, com.atlassian.plugin.event.PluginEventManager pluginEventManager, ThirdPartyComponentModuleTracker thirdPartyComponentModuleTracker, InjectorProvider injectorProvider)
-
-
Method Details
-
getEnabledRulesforTrigger
public List<com.codebarrel.automation.api.config.RuleConfigBean> getEnabledRulesforTrigger(String completeModuleKey) Description copied from interface:ThirdPartyEventRuleCacheReturn all rules using a third party trigger with the specified module key.- Specified by:
getEnabledRulesforTriggerin interfaceThirdPartyEventRuleCache- Parameters:
completeModuleKey- the module key of the trigger
-
clear
public void clear()Description copied from interface:ThirdPartyEventRuleCacheClear the entire cache.- Specified by:
clearin interfaceThirdPartyEventRuleCache
-
clearCache
public void clearCache()- Specified by:
clearCachein classAbstractPluginModuleAwareCache
-