liquibase.precondition
Class CustomPreconditionWrapper

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

public class CustomPreconditionWrapper
extends Object
implements Precondition


Constructor Summary
CustomPreconditionWrapper()
           
 
Method Summary
 void check(Database database, DatabaseChangeLog changeLog, ChangeSet changeSet)
           
 ClassLoader getClassLoader()
           
 String getClassName()
           
 String getName()
           
 void setClassLoader(ClassLoader classLoader)
           
 void setClassName(String className)
           
 void setParam(String name, String value)
           
 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

CustomPreconditionWrapper

public CustomPreconditionWrapper()
Method Detail

getClassName

public String getClassName()

setClassName

public void setClassName(String className)

getClassLoader

public ClassLoader getClassLoader()

setClassLoader

public void setClassLoader(ClassLoader classLoader)

setParam

public void setParam(String name,
                     String value)

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.