public class PropFileOnClasspathLoader extends PropFileBaseLoader
missingFileAProblem, pathProp, pathStr, unknownPropertyAProblem| Constructor and Description |
|---|
PropFileOnClasspathLoader() |
| Modifier and Type | Method and Description |
|---|---|
String |
getSpecificLoadDescription()
For this particular load, where was info loaded from?
This may vary from run to run based on config params.
|
LoaderValues |
load(PropertyConfigurationInternal appConfigDef,
LoaderEnvironment environment,
ValidatedValuesWithContext existingValues)
Builds up a list of LoaderValues by loading property values from a configuration source.
|
LoaderValues |
load(PropertyConfigurationInternal appConfigDef,
ValidatedValuesWithContext existingValues,
String path)
Load from a non-null classpathProp path.
|
getConfigSamplePrinter, getEffectivePath, getInstanceConfig, getLoaderDialect, getLoaderType, isFlaggable, isMissingFileAProblem, isTrimmingRequiredForStringValues, isUnknownPropertyAProblem, loadInputStreamToProps, setFilePath, setFilePath, setMissingFileAProblem, setUnknownPropertyAProblemattemptToAdd, attemptToAdd, attemptToAdd, attemptToAddIfNotDuplicate, createValue, findDuplicateProperty, getClassConfig, mapNametoProperty, releaseResourcesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetClassConfig, releaseResourcespublic LoaderValues load(PropertyConfigurationInternal appConfigDef, LoaderEnvironment environment, ValidatedValuesWithContext existingValues)
LoaderLoaders find and load values and associate them with the correct Property. If there is a problem while doing that, they register one or more LoaderProblems in the returned LoaderValues.
Validation of Property values is not Loader's responsibility and will be handled outside this method.
appConfigDef - The definition of all known Properties and naming metadata.environment - The environment (System Props, Env vars, fixed values) as
known to the Loader.existingValues - The values already set by prior loaders, which may configure
the behavior of this loader.public LoaderValues load(PropertyConfigurationInternal appConfigDef, ValidatedValuesWithContext existingValues, String path)
appConfigDef - existingValues - path - public String getSpecificLoadDescription()
LoaderCopyright © 2022. All rights reserved.