Class RuleConfigToBeanTransformer
java.lang.Object
com.codebarrel.automation.api.store.RuleConfigToBeanTransformer
- All Implemented Interfaces:
Function<RuleConfig,
com.codebarrel.automation.api.config.RuleConfigBean>
public class RuleConfigToBeanTransformer
extends Object
implements Function<RuleConfig,com.codebarrel.automation.api.config.RuleConfigBean>
-
Constructor Summary
ConstructorsConstructorDescriptionRuleConfigToBeanTransformer
(TenantContext context, RuleComponentProvider componentProvider, RuleUserResolver ruleUserResolver, Consumer<ComponentConfigValueUpdate> componentUpdateCallback) -
Method Summary
Modifier and TypeMethodDescriptioncom.codebarrel.automation.api.config.RuleConfigBean
apply
(RuleConfig config) com.codebarrel.automation.api.config.ComponentConfigBean
toComponentBean
(RuleConfigComponent componentConfig, String actorAccountId)
-
Constructor Details
-
RuleConfigToBeanTransformer
public RuleConfigToBeanTransformer(TenantContext context, RuleComponentProvider componentProvider, RuleUserResolver ruleUserResolver, Consumer<ComponentConfigValueUpdate> componentUpdateCallback)
-
-
Method Details
-
apply
- Specified by:
apply
in interfaceFunction<RuleConfig,
com.codebarrel.automation.api.config.RuleConfigBean>
-
toComponentBean
public com.codebarrel.automation.api.config.ComponentConfigBean toComponentBean(RuleConfigComponent componentConfig, String actorAccountId)
-