public class LiquibaseContext extends Object implements javaposse.jobdsl.dsl.Context
Modifier and Type | Field and Description |
---|---|
protected String |
changeLogFile |
protected String |
classpath |
protected String |
contexts |
protected String |
defaultSchemaName |
protected String |
labels |
protected String |
liquibasePropertiesPath |
protected Integer |
rollbackCount |
protected boolean |
tagOnSuccessfulBuild |
protected boolean |
testRollbacks |
protected String |
url |
Constructor and Description |
---|
LiquibaseContext() |
Modifier and Type | Method and Description |
---|---|
String |
composeChangeLogString() |
void |
dropAll(boolean dropAll) |
String |
getBasePath() |
String |
getChangeLogFile() |
Map |
getChangeLogParameters() |
String |
getClasspath() |
String |
getContexts() |
String |
getCredentialsId() |
String |
getDefaultSchemaName() |
String |
getLabels() |
String |
getLiquibasePropertiesPath() |
String |
getOutputDirectory() |
Integer |
getRollbackCount() |
Integer |
getRollbackLastHours() |
String |
getRollbackToDate() |
String |
getRollbackToTag() |
String |
getUrl() |
boolean |
isDropAll() |
boolean |
isTagOnSuccessfulBuild() |
boolean |
isTestRollbacks() |
void |
outputDirectory(String outputDirectory) |
void |
rollbackLastHours(Integer rollbackLastHours) |
void |
rollbackToDate(String rollbackToDate) |
void |
rollbackToTag(String rollbackToTag) |
void |
setRollbackCount(int rollbackCount) |
void |
tagOnSuccessfulBuild(boolean tagOnSuccessfulBuild) |
void |
testRollbacks(boolean testRollbacks) |
protected String changeLogFile
protected String url
protected String defaultSchemaName
protected String contexts
protected String liquibasePropertiesPath
protected String classpath
protected String labels
protected Integer rollbackCount
protected boolean testRollbacks
protected boolean tagOnSuccessfulBuild
public String getChangeLogFile()
public String getUrl()
public String getDefaultSchemaName()
public String getContexts()
public String getLiquibasePropertiesPath()
public String getClasspath()
public String getLabels()
public Map getChangeLogParameters()
public String getBasePath()
public String getCredentialsId()
public String getRollbackToDate()
public void rollbackToDate(String rollbackToDate)
public String getRollbackToTag()
public void rollbackToTag(String rollbackToTag)
public Integer getRollbackLastHours()
public void rollbackLastHours(Integer rollbackLastHours)
public Integer getRollbackCount()
public void setRollbackCount(int rollbackCount)
public boolean isTagOnSuccessfulBuild()
public void tagOnSuccessfulBuild(boolean tagOnSuccessfulBuild)
public boolean isDropAll()
public void dropAll(boolean dropAll)
public boolean isTestRollbacks()
public void testRollbacks(boolean testRollbacks)
public void outputDirectory(String outputDirectory)
public String getOutputDirectory()
public String composeChangeLogString()
Copyright © 2016–2020. All rights reserved.