Class LegacyAutomationModuleTracker
java.lang.Object
com.codebarrel.jira.plugin.automation.util.AbstractPluginModuleAwareCache
com.codebarrel.jira.plugin.automation.module.legacy.LegacyAutomationModuleTracker
- All Implemented Interfaces:
com.atlassian.sal.api.lifecycle.LifecycleAware
@Component
public class LegacyAutomationModuleTracker
extends AbstractPluginModuleAwareCache
implements com.atlassian.sal.api.lifecycle.LifecycleAware
-
Constructor Summary
ConstructorsConstructorDescriptionLegacyAutomationModuleTracker(com.atlassian.sal.api.message.I18nResolver i18nResolver, com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.event.PluginEventManager pluginEventManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidList<com.atlassian.plugin.ModuleDescriptor<com.atlassian.plugin.automation.core.Action>> getLegacyRuleComponent(ComponentTypeKey componentTypeKey, PluggableComponentFilter baker) List<com.atlassian.plugin.ModuleDescriptor<com.atlassian.plugin.automation.core.Trigger>> static booleanisProjectSafeAction(com.atlassian.plugin.ModuleDescriptor<com.atlassian.plugin.automation.core.Action> moduleDescriptor) static booleanisProjectSafeTrigger(com.atlassian.plugin.ModuleDescriptor<com.atlassian.plugin.automation.core.Trigger> moduleDescriptor) 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
-
LegacyAutomationModuleTracker
@Inject public LegacyAutomationModuleTracker(com.atlassian.sal.api.message.I18nResolver i18nResolver, com.atlassian.plugin.PluginAccessor pluginAccessor, com.atlassian.plugin.event.PluginEventManager pluginEventManager)
-
-
Method Details
-
clearCache
public void clearCache()- Specified by:
clearCachein classAbstractPluginModuleAwareCache
-
getActionDescriptors
public List<com.atlassian.plugin.ModuleDescriptor<com.atlassian.plugin.automation.core.Action>> getActionDescriptors()- Returns:
- All known action descriptors
-
getTriggerDescriptors
public List<com.atlassian.plugin.ModuleDescriptor<com.atlassian.plugin.automation.core.Trigger>> getTriggerDescriptors() -
getLegacyRuleComponent
public Optional<RuleComponent> getLegacyRuleComponent(ComponentTypeKey componentTypeKey, PluggableComponentFilter baker) -
isProjectSafeAction
public static boolean isProjectSafeAction(com.atlassian.plugin.ModuleDescriptor<com.atlassian.plugin.automation.core.Action> moduleDescriptor) -
isProjectSafeTrigger
public static boolean isProjectSafeTrigger(com.atlassian.plugin.ModuleDescriptor<com.atlassian.plugin.automation.core.Trigger> moduleDescriptor)
-