Class IfBlockFactory
java.lang.Object
com.codebarrel.automation.api.component.branch.condition.IfBlockFactory
- All Implemented Interfaces:
RuleComponent
Condition blocks uses {
NoOpExecutor} since that don't get run directly by the platform-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe type class of the configuration type.The worker for an automation rule.static com.codebarrel.automation.api.config.ComponentConfigBeangetSampleConfig(List<com.codebarrel.automation.api.config.ComponentConfigBean> conditions, List<com.codebarrel.automation.api.config.ComponentConfigBean> children) 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
-
IF_BLOCK_TYPE
- See Also:
-
-
Constructor Details
-
IfBlockFactory
@Inject public IfBlockFactory()
-
-
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
-
getSampleConfig
-