public class CLIPropertySource extends BasePropertySource
| Constructor and Description |
|---|
CLIPropertySource()
Creates a new instance.
|
CLIPropertySource(int ordinal,
String... args)
Creates a new instance, allows optionally to pass the main arguments.
|
CLIPropertySource(String... args)
Creates a new instance, allows optionally to pass the main arguments.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,org.apache.tamaya.spi.PropertyValue> |
getProperties() |
static void |
initMainArgs(String... args)
Configure the main arguments, hereby parsing and mapping the main arguments into
configuration propertiesi as key-value pairs.
|
protected String |
toStringValues() |
get, getDefaultOrdinal, getName, getOrdinal, isScannable, setDefaultOrdinal, setName, setOrdinal, toStringpublic CLIPropertySource()
public CLIPropertySource(String... args)
args - the args, or null.public CLIPropertySource(int ordinal,
String... args)
args - the args, or null.ordinal - the ordinal to be applied.public static void initMainArgs(String... args)
args - the main arguments, not null.protected String toStringValues()
toStringValues in class BasePropertySourceCopyright © 2016–2017 Apache Software Foundation. All rights reserved.