Top Description Constructors Methods
liquibase.util

public Class Validate

extends Object
Class Inheritance
Imports
liquibase.exception.UnexpectedLiquibaseException

Similar to assert logic, but will run regardless of JVM settings. Throws liquibase.exception.UnexpectedLiquibaseException if assertions fail. Based off org.apache.commons.lang.Validate.

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public static void
fail(String failMessage)

public static UnexpectedLiquibaseException
failure(String failMessage)

public static void
isTrue(boolean test, String failMessage)

Throws exception if test is not true.

public static void
notNull(Object object, String failMessage)

Throws exception if passed object is null

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

Validateback to summary
public Validate()

Method Detail

failback to summary
public static void fail(String failMessage)
failureback to summary
public static UnexpectedLiquibaseException failure(String failMessage)
isTrueback to summary
public static void isTrue(boolean test, String failMessage) throws UnexpectedLiquibaseException

Throws exception if test is not true.

notNullback to summary
public static void notNull(Object object, String failMessage) throws UnexpectedLiquibaseException

Throws exception if passed object is null