Class JqlScheduledTriggerFactory
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.trigger.scheduled.JqlScheduledTriggerFactory
- All Implemented Interfaces:
RuleComponent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionJqlScheduledTriggerFactory(JqlScheduledTriggerExecutor executor, JqlScheduledTriggerValidator validator) -
Method Summary
Modifier and TypeMethodDescriptionThe type class of the configuration type.The worker for an automation rule.Optionally return an optimiser that can optimise all rule components of this type in a given rule config.static com.codebarrel.automation.api.config.ComponentConfigBeangetSampleConfig(JqlScheduledTriggerConfig jqlScheduledTriggerConfig) 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, waitMethods inherited from interface com.codebarrel.automation.api.component.RuleComponent
createBulkValidator, getConfigTransformer, getCustomContextProvider
-
Field Details
-
TYPE
- See Also:
-
DEPRECATED_TYPE
- See Also:
-
-
Constructor Details
-
JqlScheduledTriggerFactory
@Inject public JqlScheduledTriggerFactory(JqlScheduledTriggerExecutor executor, JqlScheduledTriggerValidator validator)
-
-
Method Details
-
getExecutor
Description copied from interface:RuleComponentThe worker for an automation rule. Actually performs the operation intended by this rule component.- Specified by:
getExecutorin interfaceRuleComponent
-
getValidator
Description copied from interface:RuleComponentHelper used to validate inputs when configuring a rule component via the UI.- Specified by:
getValidatorin interfaceRuleComponent
-
getConfigType
Description copied from interface:RuleComponentThe type class of the configuration type. This aids serialization and deserialization to allow us to use reach configuration types.- Specified by:
getConfigTypein interfaceRuleComponent
-
getOptimiser
Description copied from interface:RuleComponentOptionally return an optimiser that can optimise all rule components of this type in a given rule config.- Specified by:
getOptimiserin interfaceRuleComponent
-
getNameKey
- Specified by:
getNameKeyin interfaceRuleComponent- Returns:
- an i18nizable key to print this component in the audit log
-
getSampleConfig
public static com.codebarrel.automation.api.config.ComponentConfigBean getSampleConfig(JqlScheduledTriggerConfig jqlScheduledTriggerConfig)
-