liquibase.precondition.core
Class AndPrecondition

java.lang.Object
  extended by liquibase.precondition.PreconditionLogic
      extended by liquibase.precondition.core.AndPrecondition
All Implemented Interfaces:
Precondition
Direct Known Subclasses:
PreconditionContainer

public class AndPrecondition
extends PreconditionLogic

Container class for all preconditions on a change log.


Constructor Summary
AndPrecondition()
           
 
Method Summary
 void check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet)
           
 String getName()
           
 ValidationErrors validate(Database database)
           
 Warnings warn(Database database)
           
 
Methods inherited from class liquibase.precondition.PreconditionLogic
addNestedPrecondition, getNestedPreconditions
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AndPrecondition

public AndPrecondition()
Method Detail

warn

public Warnings warn(Database database)

validate

public ValidationErrors validate(Database database)

check

public void check(Database database,
                  DatabaseChangeLog changeLog,
                  ChangeSet changeSet)
           throws PreconditionFailedException,
                  PreconditionErrorException
Throws:
PreconditionFailedException
PreconditionErrorException

getName

public String getName()


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