liquibase.precondition.core
Class OrPrecondition

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

public class OrPrecondition
extends PreconditionLogic

Class for controling "or" logic in preconditions.


Constructor Summary
OrPrecondition()
           
 
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

OrPrecondition

public OrPrecondition()
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.