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.
|
CONTEXTHIGHEST_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, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetConvention, mapOf, of, of, of, offorEach, spliteratorpublic static final int POSITION
public static final String NAME
public CommandLinePropertySource(CommandLine commandLine)
commandLine - Represents the parsed command line options.