Class ServiceLimitBreachedTriggerFactory
java.lang.Object
com.codebarrel.automation.api.component.trigger.servicelimit.ServiceLimitBreachedTriggerFactory
- All Implemented Interfaces:
RuleComponent
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServiceLimitBreachedTriggerFactory(ServiceLimitBreachedTriggerExecutor executor, ServiceLimitBreachedTriggerValidator validator) -
Method Summary
Modifier and TypeMethodDescriptionThe type class of the configuration type.Optionally return a TemplateRendererContextProvider that allows for extraThe 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, waitMethods inherited from interface com.codebarrel.automation.api.component.RuleComponent
createBulkValidator, getConfigTransformer, getOptimiser
-
Field Details
-
TYPE
- See Also:
-
-
Constructor Details
-
ServiceLimitBreachedTriggerFactory
@Inject public ServiceLimitBreachedTriggerFactory(ServiceLimitBreachedTriggerExecutor executor, ServiceLimitBreachedTriggerValidator validator)
-
-
Method Details
-
getNameKey
- Specified by:
getNameKeyin interfaceRuleComponent- Returns:
- an i18nizable key to print this component in the audit log
-
getExecutor
Description copied from interface:RuleComponentThe worker for an automation rule. Actually performs the operation intended by this rule component.- Specified by:
getExecutorin 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
-
getValidator
Description copied from interface:RuleComponentHelper used to validate inputs when configuring a rule component via the UI.- Specified by:
getValidatorin interfaceRuleComponent
-
getCustomContextProvider
Description copied from interface:RuleComponentOptionally return a TemplateRendererContextProvider that allows for extra- Specified by:
getCustomContextProviderin interfaceRuleComponent
-