1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.apache.ibatis.migration.commands;
17
18 import org.apache.ibatis.migration.operations.BootstrapOperation;
19 import org.apache.ibatis.migration.options.SelectedOptions;
20
21 public final class BootstrapCommand extends BaseCommand {
22 public BootstrapCommand(SelectedOptions options) {
23 super(options);
24 }
25
26 @Override
27 public void execute(String... params) {
28 BootstrapOperation operation = new BootstrapOperation(options.isForce());
29 operation.operate(getConnectionProvider(), getMigrationLoader(), getDatabaseOperationOption(), printStream);
30 }
31 }