liquibase.precondition.core
Class TableExistsPrecondition

java.lang.Object
  extended by liquibase.precondition.core.TableExistsPrecondition
All Implemented Interfaces:
Precondition

public class TableExistsPrecondition
extends Object
implements Precondition


Constructor Summary
TableExistsPrecondition()
           
 
Method Summary
 void check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet)
           
 String getName()
           
 String getSchemaName()
           
 String getTableName()
           
 void setSchemaName(String schemaName)
           
 void setTableName(String tableName)
           
 ValidationErrors validate(Database database)
           
 Warnings warn(Database database)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TableExistsPrecondition

public TableExistsPrecondition()
Method Detail

getSchemaName

public String getSchemaName()

setSchemaName

public void setSchemaName(String schemaName)

getTableName

public String getTableName()

setTableName

public void setTableName(String tableName)

warn

public Warnings warn(Database database)
Specified by:
warn in interface Precondition

validate

public ValidationErrors validate(Database database)
Specified by:
validate in interface Precondition

check

public void check(Database database,
                  DatabaseChangeLog changeLog,
                  ChangeSet changeSet)
           throws PreconditionFailedException,
                  PreconditionErrorException
Specified by:
check in interface Precondition
Throws:
PreconditionFailedException
PreconditionErrorException

getName

public String getName()
Specified by:
getName in interface Precondition


Copyright © 2004-2011 Liquibase.org. All Rights Reserved.