Class ConfigMigrationService
java.lang.Object
com.codebarrel.automation.api.component.migrate.ConfigMigrationService
-
Constructor Summary
ConstructorsConstructorDescriptionConfigMigrationService(RuleComponentProvider componentProvider, RuleDetailsConfigTransform ruleDetailsConfigTransform, AutomationLinkService automationLinkService) -
Method Summary
Modifier and TypeMethodDescriptionmigrateRule(TenantContext tenantContext, RuleMigrationValidation ruleMigrationValidation, com.codebarrel.automation.api.config.RuleConfigBean rule) validateMigration(TenantContext tenantContext, MigrationContext migrationContext, com.codebarrel.automation.api.config.RuleConfigBean rule)
-
Constructor Details
-
ConfigMigrationService
@Inject public ConfigMigrationService(RuleComponentProvider componentProvider, RuleDetailsConfigTransform ruleDetailsConfigTransform, AutomationLinkService automationLinkService)
-
-
Method Details
-
validateMigration
public RuleMigrationValidation validateMigration(@Nonnull TenantContext tenantContext, @Nonnull MigrationContext migrationContext, @Nonnull com.codebarrel.automation.api.config.RuleConfigBean rule) -
migrateRule
public RuleMigrationResult migrateRule(@Nonnull TenantContext tenantContext, @Nonnull RuleMigrationValidation ruleMigrationValidation, @Nonnull com.codebarrel.automation.api.config.RuleConfigBean rule)
-