public class StringArgumentLoader extends BaseLoader
| Modifier and Type | Field and Description |
|---|---|
static String |
KVP_DELIMITER
The default delimiter between a key and a value.
|
| Constructor and Description |
|---|
StringArgumentLoader(List<String> inCmdLineArgs)
Construct using a list of Strings, each string containing a key-value pair.
|
StringArgumentLoader(String[] inCmdLineArgs)
Construct using an array of Strings, each string containing a key-value pair.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getLoaderDialect()
The type dialect of the loader.
|
String |
getLoaderType()
The type of the loader, such as JNDI, PropertyFile, SystemProperty,
etc..
|
String |
getSpecificLoadDescription()
For this particular load, where was info loaded from?
This may vary from run to run based on config params.
|
boolean |
isTrimmingRequiredForStringValues()
If true, values for string properties are trimmed by the Trimmer of
the property they are associated with.
|
boolean |
isUnrecognizedPropertyNamesConsideredAProblem()
If true, an unrecognized name is considered a problem that will stop
application startup.
|
LoaderValues |
load(ConstructionDefinition appConfigDef,
ValueMapWithContext existingValues)
Builds up a list of LoaderValues by loading property values from a configuration
source.
|
attemptToAdd, attemptToAdd, createValue, findDuplicateProperty, getClassConfig, getConfigSamplePrinter, getInstanceConfigpublic static final String KVP_DELIMITER
public StringArgumentLoader(List<String> inCmdLineArgs)
inCmdLineArgs - public StringArgumentLoader(String[] inCmdLineArgs)
inCmdLineArgs - public LoaderValues load(ConstructionDefinition appConfigDef, ValueMapWithContext existingValues)
Loaderpublic String getSpecificLoadDescription()
Loaderpublic boolean isTrimmingRequiredForStringValues()
Loaderpublic boolean isUnrecognizedPropertyNamesConsideredAProblem()
Loaderpublic String getLoaderType()
Loaderpublic String getLoaderDialect()
LoaderCopyright © 2017. All rights reserved.