1 |
|
package org.liquibase.maven.plugins; |
2 |
|
|
3 |
|
import liquibase.exception.LiquibaseException; |
4 |
|
import liquibase.Liquibase; |
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
@author |
11 |
|
|
12 |
|
|
|
|
| 0% |
Uncovered Elements: 6 (6) |
Complexity: 2 |
Complexity Density: 0.5 |
|
13 |
|
public abstract class AbstractLiquibaseUpdateMojo extends AbstractLiquibaseChangeLogMojo { |
14 |
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
|
|
19 |
|
|
20 |
|
|
21 |
|
protected int changesToApply; |
22 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
23 |
0
|
@Override... |
24 |
|
protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException { |
25 |
0
|
super.performLiquibaseTask(liquibase); |
26 |
0
|
doUpdate(liquibase); |
27 |
|
} |
28 |
|
|
29 |
|
|
30 |
|
|
31 |
|
|
32 |
|
@param |
33 |
|
|
34 |
|
|
35 |
|
protected abstract void doUpdate(Liquibase liquibase) throws LiquibaseException; |
36 |
|
|
|
|
| 0% |
Uncovered Elements: 2 (2) |
Complexity: 1 |
Complexity Density: 0.5 |
|
37 |
0
|
@Override... |
38 |
|
protected void printSettings(String indent) { |
39 |
0
|
super.printSettings(indent); |
40 |
0
|
getLog().info(indent + "number of changes to apply: " + changesToApply); |
41 |
|
} |
42 |
|
} |