public class CommandLinePropertySource extends MapPropertySource
PropertySource
for properties parsed from the command line.PropertySource.PropertyConvention
Modifier and Type | Field and Description |
---|---|
static String |
NAME
The name of the property source.
|
static int |
POSITION
The position of the loader.
|
CONTEXT
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
Constructor and Description |
---|
CommandLinePropertySource(CommandLine commandLine)
Construct the CommandLinePropertySource from properties passed from command line.
|
Modifier and Type | Method and Description |
---|---|
int |
getOrder() |
asMap, get, getName, iterator, of, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConvention, mapOf, of, of, of, of
forEach, spliterator
public static final int POSITION
public static final String NAME
public CommandLinePropertySource(CommandLine commandLine)
commandLine
- Represents the parsed command line options.