Class SlaThresholdBreachedTriggerFactory
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.trigger.servicedesk.sla.SlaThresholdBreachedTriggerFactory
- All Implemented Interfaces:
PollExecutorFactory,RuleComponent
@Component
public class SlaThresholdBreachedTriggerFactory
extends Object
implements PollExecutorFactory, RuleComponent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSlaThresholdBreachedTriggerFactory(SlaThresholdBreachedTriggerExecutor executor, SlaThresholdBreachedValidator validator, SlaThresholdPollExecutor pollScheduler) -
Method Summary
Modifier and TypeMethodDescriptionThe type class of the configuration type.The worker for an automation rule.Returns the executor that will be called at each intervalstatic com.codebarrel.automation.api.config.ComponentConfigBeangetSampleConfig(SlaThresholdBreachedTriggerConfig slaThresholdBreachedTriggerConfig) 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, getOptimiser
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
SlaThresholdBreachedTriggerFactory
@Inject public SlaThresholdBreachedTriggerFactory(SlaThresholdBreachedTriggerExecutor executor, SlaThresholdBreachedValidator validator, SlaThresholdPollExecutor pollScheduler)
-
-
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
-
getNameKey
- Specified by:
getNameKeyin interfaceRuleComponent- Returns:
- an i18nizable key to print this component in the audit log
-
getPollExecutor
Description copied from interface:PollExecutorFactoryReturns the executor that will be called at each interval- Specified by:
getPollExecutorin interfacePollExecutorFactory- Returns:
- the poll executor
-
getSampleConfig
public static com.codebarrel.automation.api.config.ComponentConfigBean getSampleConfig(SlaThresholdBreachedTriggerConfig slaThresholdBreachedTriggerConfig)
-