Class JiraRuleComponentProvider
java.lang.Object
com.codebarrel.jira.plugin.automation.util.JiraRuleComponentProvider
- All Implemented Interfaces:
RuleComponentProvider
-
Constructor Summary
ConstructorsConstructorDescriptionJiraRuleComponentProvider(com.atlassian.sal.api.message.I18nResolver i18nResolver, com.google.inject.Injector injector, LegacyAutomationModuleTracker legacyAutomationModuleTracker, org.osgi.framework.BundleContext bundleContext, AutomationLicenseService automationLicenseService, ThirdPartyComponentModuleTracker thirdPartyComponentModuleTracker, ThirdPartyRuleComponentFactory thirdPartyRuleComponentFactory) -
Method Summary
Modifier and TypeMethodDescriptionGets all non-plugin components in the systemgetComponent(ComponentTypeKey componentTypeKey) For a given componentTypekey, this method attempts to resolve the actual RuleComponentReturns a list of pluggable components available in the system.
-
Constructor Details
-
JiraRuleComponentProvider
public JiraRuleComponentProvider(com.atlassian.sal.api.message.I18nResolver i18nResolver, com.google.inject.Injector injector, LegacyAutomationModuleTracker legacyAutomationModuleTracker, org.osgi.framework.BundleContext bundleContext, AutomationLicenseService automationLicenseService, ThirdPartyComponentModuleTracker thirdPartyComponentModuleTracker, ThirdPartyRuleComponentFactory thirdPartyRuleComponentFactory)
-
-
Method Details
-
getAvailableComponents
- Specified by:
getAvailableComponentsin interfaceRuleComponentProvider- Returns:
- all available component keys known to the system.
-
getAvailableCoreRuleComponents
Description copied from interface:RuleComponentProviderGets all non-plugin components in the system- Specified by:
getAvailableCoreRuleComponentsin interfaceRuleComponentProvider
-
getComponent
Description copied from interface:RuleComponentProviderFor a given componentTypekey, this method attempts to resolve the actual RuleComponent- Specified by:
getComponentin interfaceRuleComponentProvider- Parameters:
componentTypeKey- the key of the component to resolve- Returns:
- Resolved component or empty
-
getPluggableComponents
Description copied from interface:RuleComponentProviderReturns a list of pluggable components available in the system.- Specified by:
getPluggableComponentsin interfaceRuleComponentProvider
-