Class ServerMigration<S extends org.jboss.migration.core.Server>
- java.lang.Object
-
- org.jboss.migration.wfly10.config.task.ServerMigration<S>
-
- All Implemented Interfaces:
WildFlyServerMigration10<S>
- Direct Known Subclasses:
ServerUpdate
public class ServerMigration<S extends org.jboss.migration.core.Server> extends Object implements WildFlyServerMigration10<S>
- Author:
- emmartins
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classServerMigration.Builder<S extends org.jboss.migration.core.Server>static interfaceServerMigration.SubtaskFactory<S extends org.jboss.migration.core.Server>
-
Field Summary
Fields Modifier and Type Field Description protected List<ServerMigration.SubtaskFactory<S>>subtaskFactories
-
Constructor Summary
Constructors Constructor Description ServerMigration(ServerMigration.Builder<S> builder)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jboss.migration.core.task.ServerMigrationTaskResultrun(S source, WildFlyServer10 target, org.jboss.migration.core.task.TaskContext context)Runs the server migration.
-
-
-
Field Detail
-
subtaskFactories
protected final List<ServerMigration.SubtaskFactory<S extends org.jboss.migration.core.Server>> subtaskFactories
-
-
Constructor Detail
-
ServerMigration
public ServerMigration(ServerMigration.Builder<S> builder)
-
-
Method Detail
-
run
public org.jboss.migration.core.task.ServerMigrationTaskResult run(S source, WildFlyServer10 target, org.jboss.migration.core.task.TaskContext context)
Description copied from interface:WildFlyServerMigration10Runs the server migration.- Specified by:
runin interfaceWildFlyServerMigration10<S extends org.jboss.migration.core.Server>- Returns:
-
-