public class FixedValueLoader extends BaseLoader implements ReadLoader
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
unknownPropertyAProblem |
protected List<PropertyValue> |
values |
| Constructor and Description |
|---|
FixedValueLoader() |
| 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 |
isUnknownPropertyAProblem()
If true, an unrecognized name is considered a problem that will stop
application startup.
|
LoaderValues |
load(StaticPropertyConfigurationInternal appConfigDef,
ValidatedValuesWithContext existingValues)
Builds up a list of LoaderValues by loading property values from a
configuration source.
|
void |
releaseResources()
Release any resources held by this loader.
|
void |
setPropertyValues(List<PropertyValue> values) |
void |
setPropertyValues(PropertyValue... values) |
void |
setUnknownPropertyAProblem(boolean isAProblem)
If true, an unrecognized property name is considered a problem/error.
|
attemptToAdd, attemptToAdd, createValue, findDuplicateProperty, getClassConfig, getConfigSamplePrinter, getInstanceConfigclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassConfig, getConfigSamplePrinter, getInstanceConfigprotected boolean unknownPropertyAProblem
protected List<PropertyValue> values
public void setPropertyValues(List<PropertyValue> values)
public void setPropertyValues(PropertyValue... values)
public LoaderValues load(StaticPropertyConfigurationInternal appConfigDef, ValidatedValuesWithContext existingValues)
Loaderpublic boolean isTrimmingRequiredForStringValues()
LoaderisTrimmingRequiredForStringValues in interface Loaderpublic String getSpecificLoadDescription()
LoadergetSpecificLoadDescription in interface Loaderpublic String getLoaderType()
LoadergetLoaderType in interface Loaderpublic String getLoaderDialect()
LoadergetLoaderDialect in interface Loaderpublic void setUnknownPropertyAProblem(boolean isAProblem)
ReadLoadersetUnknownPropertyAProblem in interface ReadLoaderpublic boolean isUnknownPropertyAProblem()
ReadLoaderisUnknownPropertyAProblem in interface ReadLoaderpublic void releaseResources()
LoaderreleaseResources in interface LoaderreleaseResources in class BaseLoaderCopyright © 2017. All rights reserved.