liquibase.changelog
Class DatabaseChangeLog
java.lang.Object
liquibase.changelog.DatabaseChangeLog
- All Implemented Interfaces:
- Comparable<DatabaseChangeLog>, Conditional
public class DatabaseChangeLog
- extends Object
- implements Comparable<DatabaseChangeLog>, Conditional
Encapsulates the information stored in the change log XML file.
DatabaseChangeLog
public DatabaseChangeLog()
DatabaseChangeLog
public DatabaseChangeLog(String physicalFilePath)
getPreconditions
public PreconditionContainer getPreconditions()
- Specified by:
getPreconditions
in interface Conditional
setPreconditions
public void setPreconditions(PreconditionContainer precond)
- Specified by:
setPreconditions
in interface Conditional
getChangeLogParameters
public ChangeLogParameters getChangeLogParameters()
setChangeLogParameters
public void setChangeLogParameters(ChangeLogParameters changeLogParameters)
getPhysicalFilePath
public String getPhysicalFilePath()
setPhysicalFilePath
public void setPhysicalFilePath(String physicalFilePath)
getLogicalFilePath
public String getLogicalFilePath()
setLogicalFilePath
public void setLogicalFilePath(String logicalFilePath)
getFilePath
public String getFilePath()
toString
public String toString()
- Overrides:
toString
in class Object
compareTo
public int compareTo(DatabaseChangeLog o)
- Specified by:
compareTo
in interface Comparable<DatabaseChangeLog>
getChangeSet
public ChangeSet getChangeSet(String path,
String author,
String id)
getChangeSets
public List<ChangeSet> getChangeSets()
addChangeSet
public void addChangeSet(ChangeSet changeSet)
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object
validate
public void validate(Database database,
String... contexts)
throws LiquibaseException
- Throws:
LiquibaseException
getChangeSet
public ChangeSet getChangeSet(RanChangeSet ranChangeSet)
Copyright © 2011 Liquibase.org. All Rights Reserved.