Class PluggableRuleComponent
java.lang.Object
com.codebarrel.jira.plugin.automation.module.legacy.PluggableRuleComponent
- All Implemented Interfaces:
RuleComponent
-
Constructor Summary
ConstructorsConstructorDescriptionPluggableRuleComponent
(com.atlassian.sal.api.message.I18nResolver i18nResolver, boolean projectSafe, String completeModuleKey, String nameKey, com.atlassian.plugin.automation.core.Action actionModule) PluggableRuleComponent
(com.atlassian.sal.api.message.I18nResolver i18nResolver, boolean projectSafe, String completeModuleKey, String nameKey, com.atlassian.plugin.automation.core.Trigger triggerModule) -
Method Summary
Modifier and TypeMethodDescriptionThe type class of the configuration type.The worker for an automation rule.Helper used to validate inputs when configuring a rule component via the UI.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.codebarrel.automation.api.component.RuleComponent
createBulkValidator, getConfigTransformer, getCustomContextProvider, getOptimiser
-
Constructor Details
-
PluggableRuleComponent
-
PluggableRuleComponent
-
-
Method Details
-
getExecutor
Description copied from interface:RuleComponent
The worker for an automation rule. Actually performs the operation intended by this rule component.- Specified by:
getExecutor
in interfaceRuleComponent
-
getValidator
Description copied from interface:RuleComponent
Helper used to validate inputs when configuring a rule component via the UI.- Specified by:
getValidator
in interfaceRuleComponent
-
getConfigType
Description copied from interface:RuleComponent
The type class of the configuration type. This aids serialization and deserialization to allow us to use reach configuration types.- Specified by:
getConfigType
in interfaceRuleComponent
-
getNameKey
- Specified by:
getNameKey
in interfaceRuleComponent
- Returns:
- an i18nizable key to print this component in the audit log
-