public class CommandLineArgumentValueProvider extends AbstractMapConfigurationValueProvider
Constructor and Description |
---|
CommandLineArgumentValueProvider(picocli.CommandLine.ParseResult parseResult) |
Modifier and Type | Method and Description |
---|---|
protected Map<?,?> |
getMap() |
int |
getPrecedence()
Returns the precedence of values returned by this provider.
|
protected String |
getSourceDescription() |
protected boolean |
keyMatches(String wantedKey,
String storedKey)
Used by
ConfigurationValueProvider.getProvidedValue(String[]) to determine of a given map entry matches the wanted key. |
getMapHash, getProvidedValue, isValueSet, lookupProvidedValue
validate
public CommandLineArgumentValueProvider(picocli.CommandLine.ParseResult parseResult)
public int getPrecedence()
ConfigurationValueProvider
ScopeValueProvider
DeprecatedConfigurationValueProvider
SystemPropertyValueProvider
DefaultsFileValueProvider
protected Map<?,?> getMap()
getMap
in class AbstractMapConfigurationValueProvider
protected boolean keyMatches(String wantedKey, String storedKey)
AbstractMapConfigurationValueProvider
ConfigurationValueProvider.getProvidedValue(String[])
to determine of a given map entry matches the wanted key.
This implementation compares the values case-insensitively, and will replace camelCase words with kabob-casekeyMatches
in class AbstractMapConfigurationValueProvider
wantedKey
- the configuration key requestedstoredKey
- the key stored in the mapprotected String getSourceDescription()
getSourceDescription
in class AbstractMapConfigurationValueProvider
Copyright © 2023 Liquibase.org. All rights reserved.