Class LiquibaseLauncher
java.lang.Object
liquibase.integration.commandline.LiquibaseLauncher
Launcher which builds up the classpath needed to run Liquibase, then calls
LiquibaseCommandLine.main(String[])
.
Supports the following configuration options that can be passed as JVM properties and/or environment variables, taking the former precedence over the latter:
Environment variable | JVM property |
---|---|
Meaning | |
LIQUIBASE_HOME |
liquibase.home |
Liquibase home. This option is mandatory. | |
LIQUIBASE_LAUNCHER_DEBUG |
liquibase.launcher.debug |
Determine if it should, when true , log what it is doing to stderr .
Defaults to false . |
|
LIQUIBASE_LAUNCHER_PARENT_CLASSLOADER |
liquibase.launcher.parent_classloader |
Classloader that will be used to run Liquibase, either system or thread .
Defaults to system . |
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected static ClassLoader
configureClassLoader
(ClassLoader parentLoader, String[] args, List<URL> libUrls) static void
-
Constructor Details
-
LiquibaseLauncher
public LiquibaseLauncher()
-
-
Method Details
-
main
- Throws:
Exception
-
configureClassLoader
protected static ClassLoader configureClassLoader(ClassLoader parentLoader, String[] args, List<URL> libUrls) throws IllegalArgumentException, IOException - Throws:
IllegalArgumentException
IOException
-