| Modifier and Type | Class and Description |
|---|---|
| private static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final String | |
| private final CommandLine | |
| private Level | |
| private final ResourceBundle | |
| private CommandLine. | defaultFactory
Pico's defaultFactory does a lot of reflection, checking for classes we know we don't have. |
| private Handler | |
| private final Set | legacyNoLongerCommandArguments
Arguments that used to be command arguments but are now global |
| private final Set | legacyNoLongerGlobalArguments
Arguments that used to be global arguments but are now command-level |
| private final Map |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private Map | |
| private void | |
| private CommandLine. | addSubcommandGroup(String[] groupName, CommandDefinition commandDefinition, CommandLine.
|
| protected String[] | |
| private CommandLine | |
| protected String | |
| private void | |
| protected ClassLoader | |
| private void | |
| protected Map | |
| private void | |
| private void | configureLogging(Level logLevel, String logFile, boolean
indicate whether the user selected the default value for log-level, or whether they
provided a value wasDefaultLogLevelUsed)
|
| private Map | |
| private Map | Returns: values to set in the scopeConfigures the system, and returns values to add to Scope. |
| private void | configureSubcommandGroup(CommandLine.
|
| private void | |
| private CommandLine. | |
| private Level | |
| protected void | |
| public int | |
| private List | |
| pack-priv static String[] | |
| private SortedSet | |
| private static UIService | |
| private CommandLine. | |
| private CommandLine | |
| protected int | |
| private static void | |
| private void | |
| public static void | |
| private List | |
| protected static String[] | |
| protected static String[] | |
| private String | |
| private boolean |
| COMMAND_ARGUMENTS | back to summary |
|---|---|
| public static final String COMMAND_ARGUMENTS | |
| commandLine | back to summary |
|---|---|
| private final CommandLine commandLine | |
| configuredLogLevel | back to summary |
|---|---|
| private Level configuredLogLevel | |
| coreBundle | back to summary |
|---|---|
| private final ResourceBundle coreBundle | |
| defaultFactory | back to summary |
|---|---|
| private CommandLine. Pico's defaultFactory does a lot of reflection, checking for classes we know we don't have. That is slow on older JVMs and impact initial startup time, so do our own factory for performance reasons. It is easy to configure pico to it's default factory, when profiling check for `CommandLine$DefaultFactory` usage | |
| fileHandler | back to summary |
|---|---|
| private Handler fileHandler | |
| legacyNoLongerCommandArguments | back to summary |
|---|---|
| private final Set<String> legacyNoLongerCommandArguments Arguments that used to be command arguments but are now global | |
| legacyNoLongerGlobalArguments | back to summary |
|---|---|
| private final Set<String> legacyNoLongerGlobalArguments Arguments that used to be global arguments but are now command-level | |
| legacyPositionalArguments | back to summary |
|---|---|
| private final Map<String, String> legacyPositionalArguments | |
| LiquibaseCommandLine | back to summary |
|---|---|
| public LiquibaseCommandLine() | |
| addEmptyMdcValues | back to summary |
|---|---|
| private void addEmptyMdcValues() | |
| addGlobalArguments | back to summary |
|---|---|
| private void addGlobalArguments(CommandLine commandLine) | |
| addJavaPropertiesToChangelogParameters | back to summary |
|---|---|
| private Map | |
| addSubcommand | back to summary |
|---|---|
| private void addSubcommand(CommandDefinition commandDefinition, CommandLine rootCommand) | |
| addSubcommandGroup | back to summary |
|---|---|
| private CommandLine. | |
| adjustLegacyArgs | back to summary |
|---|---|
| protected String[] adjustLegacyArgs(String[] args) | |
| buildPicoCommandLine | back to summary |
|---|---|
| private CommandLine buildPicoCommandLine() | |
| cleanExceptionMessage | back to summary |
|---|---|
| protected String cleanExceptionMessage(String message) | |
| cleanup | back to summary |
|---|---|
| private void cleanup() | |
| configureClassLoader | back to summary |
|---|---|
| protected ClassLoader configureClassLoader() throws IllegalArgumentException | |
| configureHelp | back to summary |
|---|---|
| private void configureHelp(CommandLine. | |
| configureLogging | back to summary |
|---|---|
| protected Map | |
| configureLogging | back to summary |
|---|---|
| private void configureLogging(Level logLevel, String logFile) throws IOException | |
| configureLogging | back to summary |
|---|---|
private void configureLogging(Level logLevel, String logFile, boolean wasDefaultLogLevelUsed) throws IOException
| |
| configureResourceAccessor | back to summary |
|---|---|
| private Map | |
| configureScope | back to summary |
|---|---|
| private Map Configures the system, and returns values to add to Scope. | |
| configureSubcommandGroup | back to summary |
|---|---|
| private void configureSubcommandGroup(CommandLine. | |
| configureVersionInfo | back to summary |
|---|---|
| private void configureVersionInfo() | |
| createArgBuilder | back to summary |
|---|---|
| private CommandLine. | |
| determineLogLevel | back to summary |
|---|---|
| private Level determineLogLevel(Throwable throwable) | |
| enableMonitoring | back to summary |
|---|---|
| protected void enableMonitoring() | |
| execute | back to summary |
|---|---|
| public int execute(String[] args) | |
| expandCommandNames | back to summary |
|---|---|
| private List | |
| getCommandNames | back to summary |
|---|---|
| pack-priv static String[] getCommandNames(CommandLine parseResult) | |
| getCommands | back to summary |
|---|---|
| private SortedSet | |
| getDefaultUiService | back to summary |
|---|---|
| private static UIService getDefaultUiService() throws InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException | |
| getParentCommandSpec | back to summary |
|---|---|
| private CommandLine. | |
| getRootCommand | back to summary |
|---|---|
| private CommandLine getRootCommand(CommandLine commandLine) | |
| handleException | back to summary |
|---|---|
| protected int handleException(Throwable exception) | |
| insertWithoutDuplicates | back to summary |
|---|---|
| private static void insertWithoutDuplicates(List<String> returnList, String key) | |
| logMdcData | back to summary |
|---|---|
| private void logMdcData() throws IOException Log MDC data related to Liquibase system information. | |
| main | back to summary |
|---|---|
| public static void main(String[] args) | |
| registerValueProviders | back to summary |
|---|---|
| private List | |
| toArgNames | back to summary |
|---|---|
| protected static String[] toArgNames(CommandArgumentDefinition<?> def) | |
| toArgNames | back to summary |
|---|---|
| protected static String[] toArgNames(ConfigurationDefinition<?> def) | |
| toEnvVariable | back to summary |
|---|---|
| private String toEnvVariable(String property) | |
| wasHelpOrVersionRequested | back to summary |
|---|---|
| private boolean wasHelpOrVersionRequested() | |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | contains(Object
element whose presence in this list is to be tested o)Overrides java. Implements java. Returns |
| CaseInsensitiveList | back to summary |
|---|---|
| private CaseInsensitiveList() | |
| contains | back to summary |
|---|---|
| public boolean contains(Object o) Overrides java. Implements java. Doc from java. Returns | |
| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private LiquibaseCommandLine. | |
| private String | |
| public String[] | getVersion()
Implements picocli. Returns version information for a command. |
| private void | handleCompilerJarEdgeCase(File pathEntryFile, JarFile jarFile, LiquibaseCommandLine.
The compiler.jar file was accidentally added to the liquibase tar.gz distribution, and the compiler.jar file does not contain a completed MANIFEST.MF file. |
| LiquibaseVersionProvider | back to summary |
|---|---|
| private LiquibaseVersionProvider() | |
| addMdc | back to summary |
|---|---|
| private void addMdc(Version mdcVersion, LicenseService licenseService, String liquibaseHome, String javaHome, String javaVersion) | |
| getLibraryInfo | back to summary |
|---|---|
| private LiquibaseCommandLine. | |
| getValue | back to summary |
|---|---|
| private String getValue(Manifest manifest, String... keys) | |
| getVersion | back to summary |
|---|---|
| public String[] getVersion() throws Exception Implements picocli. Doc from picocli. Returns version information for a command. | |
| handleCompilerJarEdgeCase | back to summary |
|---|---|
| private void handleCompilerJarEdgeCase(File pathEntryFile, JarFile jarFile, LiquibaseCommandLine. The compiler.jar file was accidentally added to the liquibase tar.gz distribution, and the compiler.jar file does not contain a completed MANIFEST.MF file. This method loads the version out of the pom.xml instead of using the manifest, only for the compiler.jar file. | |
| Modifier and Type | Field and Description |
|---|---|
| private File | |
| private String | |
| private String | |
| private String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public int | compareTo(LiquibaseCommandLine.
the object to be compared. oImplements java. Compares this object with the specified object for order. |
| file | back to summary |
|---|---|
| private File file | |
| name | back to summary |
|---|---|
| private String name | |
| vendor | back to summary |
|---|---|
| private String vendor | |
| version | back to summary |
|---|---|
| private String version | |
| LibraryInfo | back to summary |
|---|---|
| private LibraryInfo() | |
| compareTo | back to summary |
|---|---|
| public int compareTo(LiquibaseCommandLine. Implements java. Doc from java. Compares this object with the specified object for order. Returns a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object. The implementor must ensure The implementor must also ensure that the relation is transitive:
Finally, the implementor must ensure that
| |