All Downloads are FREE. Search and download functionalities are using the official Maven repository.

step.functions.packages.migration.MigrationTasksRegistrationPlugin Maven / Gradle / Ivy

There is a newer version: 3.25.5
Show newest version
package step.functions.packages.migration;

import step.core.GlobalContext;
import step.core.plugins.AbstractControllerPlugin;
import step.core.plugins.Plugin;
import step.migration.MigrationManager;
import step.migration.tasks.MigrationManagerTasksPlugin;

/**
 * This plugin is responsible for the registration of the migration tasks
 */
@Plugin(dependencies= {MigrationManagerTasksPlugin.class})
public class MigrationTasksRegistrationPlugin  extends AbstractControllerPlugin {

	@Override
	public void serverStart(GlobalContext context) throws Exception {
		MigrationManager migrationManager = context.get(MigrationManager.class);
		migrationManager.register(ScreenTemplateFunctionTableExtensionsMigrationTask.class);
		migrationManager.register(PlansInCompositeFunctionsMigrationTask.class);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy