Class LiquibaseCommandLine
- java.lang.Object
-
- liquibase.integration.commandline.LiquibaseCommandLine
-
public class LiquibaseCommandLine extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LiquibaseCommandLine.LiquibaseVersionProvider
-
Field Summary
Fields Modifier and Type Field Description static String
COMMAND_ARGUMENTS
-
Constructor Summary
Constructors Constructor Description LiquibaseCommandLine()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected String[]
adjustLegacyArgs(String[] args)
protected String
cleanExceptionMessage(String message)
protected ClassLoader
configureClassLoader()
protected Map<String,Object>
configureLogging()
protected void
enableMonitoring()
int
execute(String[] args)
protected int
handleException(Throwable exception)
static void
main(String[] args)
protected static String[]
toArgNames(CommandArgumentDefinition<?> def)
protected static String[]
toArgNames(ConfigurationDefinition<?> def)
-
-
-
Field Detail
-
COMMAND_ARGUMENTS
public static final String COMMAND_ARGUMENTS
- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String[] args)
-
handleException
protected int handleException(Throwable exception)
-
execute
public int execute(String[] args)
-
enableMonitoring
protected void enableMonitoring()
-
configureLogging
protected Map<String,Object> configureLogging() throws IOException
- Throws:
IOException
-
configureClassLoader
protected ClassLoader configureClassLoader() throws IllegalArgumentException
- Throws:
IllegalArgumentException
-
toArgNames
protected static String[] toArgNames(CommandArgumentDefinition<?> def)
-
toArgNames
protected static String[] toArgNames(ConfigurationDefinition<?> def)
-
-