Classes in this File | Line Coverage | Branch Coverage | Complexity | ||||
PrependSqlVisitor |
|
| 1.0;1 |
1 | package liquibase.sql.visitor; | |
2 | ||
3 | import liquibase.database.Database; | |
4 | ||
5 | 0 | public class PrependSqlVisitor extends AbstractSqlVisitor { |
6 | private String value; | |
7 | ||
8 | public String getName() { | |
9 | 0 | return "prepend"; |
10 | } | |
11 | ||
12 | public String getValue() { | |
13 | 0 | return value; |
14 | } | |
15 | ||
16 | public void setValue(String value) { | |
17 | 0 | this.value = value; |
18 | 0 | } |
19 | ||
20 | public String modifySql(String sql, Database database) { | |
21 | 0 | return value + sql; |
22 | } | |
23 | } |