Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
LiquibaseListLocksMojo |
|
| 1.0;1 |
1 | package org.liquibase.maven.plugins; | |
2 | ||
3 | import liquibase.Liquibase; | |
4 | import liquibase.exception.LiquibaseException; | |
5 | ||
6 | /** | |
7 | * Lists all Liquibase updater locks on the current database. | |
8 | * | |
9 | * @author JAmes Atwill | |
10 | * @goal listLocks | |
11 | */ | |
12 | 0 | public class LiquibaseListLocksMojo extends AbstractLiquibaseMojo { |
13 | ||
14 | @Override | |
15 | protected void performLiquibaseTask(Liquibase liquibase) throws LiquibaseException { | |
16 | 0 | liquibase.listLocks(); |
17 | 0 | } |
18 | ||
19 | } |