public MigrateDeployments() { name("deployments.migrate-deployments"); beforeRun(context -> context.getLogger().debugf("Retrieving source configuration's deployments...")); subtasks(new ManageableServerConfigurationCompositeSubtasks.Builder<JBossServerConfiguration<S>>() .subtask(new MigratePersistentDeployments<>()) .subtask(new MigrateScannerDeployments<>()) .subtask(new MigrateDeploymentOverlays<>())); } }