C - The class to return from each of the fluent builder methods, which
will be the implementation class in each case. See StdConfig for an example.public abstract class BaseConfig<C extends BaseConfig<C>> extends Object implements AndHowConfiguration<C>
| Modifier and Type | Field and Description |
|---|---|
protected List<String> |
_cmdLineArgs |
protected List<PropertyValue> |
_fixedVals |
protected boolean |
_missingClasspathPropFileAProblem |
protected boolean |
_missingFilesystemPropFileAProblem |
protected StrProp |
classpathPropFilePathProp |
protected String |
classpathPropFilePathStr |
protected static Class<?>[] |
DEFAULT_LOADER_LIST |
protected Map<String,String> |
envProperties |
protected StrProp |
filesystemPropFilePathProp |
protected Map<Class<? extends StandardLoader>,List<Loader>> |
insertAfter |
protected Map<Class<? extends StandardLoader>,List<Loader>> |
insertBefore |
protected NamingStrategy |
naming |
protected List<Class<? extends StandardLoader>> |
standardLoaders |
protected Properties |
systemProperties |
| Modifier | Constructor and Description |
|---|---|
protected |
BaseConfig() |
protected |
BaseConfig(List<Class<? extends StandardLoader>> standardLoaders) |
| Modifier and Type | Method and Description |
|---|---|
void |
build() |
List<Loader> |
buildLoaders() |
protected StdEnvVarLoader |
buildStdEnvVarLoader() |
protected StdFixedValueLoader |
buildStdFixedValueLoader() |
protected StdJndiLoader |
buildStdJndiLoader() |
protected StdMainStringArgsLoader |
buildStdMainStringArgsLoader() |
protected StdPropFileOnClasspathLoader |
buildStdPropFileOnClasspathLoader() |
protected StdPropFileOnFilesystemLoader |
buildStdPropFileOnFilesystemLoader() |
protected StdSysPropLoader |
buildStdSysPropLoader() |
static List<Class<? extends StandardLoader>> |
getDefaultLoaderList()
The list of default loaders as a list.
|
NamingStrategy |
getNamingStrategy() |
List<GroupProxy> |
getRegisteredGroups() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddFixedValue, removeFixedValue, setCmdLineArgsprotected static final Class<?>[] DEFAULT_LOADER_LIST
protected List<Class<? extends StandardLoader>> standardLoaders
protected Map<Class<? extends StandardLoader>,List<Loader>> insertBefore
protected Map<Class<? extends StandardLoader>,List<Loader>> insertAfter
protected final List<PropertyValue> _fixedVals
protected String classpathPropFilePathStr
protected StrProp classpathPropFilePathProp
protected boolean _missingClasspathPropFileAProblem
protected StrProp filesystemPropFilePathProp
protected boolean _missingFilesystemPropFileAProblem
protected Properties systemProperties
protected NamingStrategy naming
protected BaseConfig()
protected BaseConfig(List<Class<? extends StandardLoader>> standardLoaders)
public NamingStrategy getNamingStrategy()
getNamingStrategy in interface AndHowConfiguration<C extends BaseConfig<C>>protected StdFixedValueLoader buildStdFixedValueLoader()
protected StdMainStringArgsLoader buildStdMainStringArgsLoader()
protected StdSysPropLoader buildStdSysPropLoader()
protected StdJndiLoader buildStdJndiLoader()
protected StdEnvVarLoader buildStdEnvVarLoader()
protected StdPropFileOnFilesystemLoader buildStdPropFileOnFilesystemLoader()
protected StdPropFileOnClasspathLoader buildStdPropFileOnClasspathLoader()
public List<Loader> buildLoaders()
buildLoaders in interface AndHowConfiguration<C extends BaseConfig<C>>public List<GroupProxy> getRegisteredGroups()
getRegisteredGroups in interface AndHowConfiguration<C extends BaseConfig<C>>public void build()
build in interface AndHowConfiguration<C extends BaseConfig<C>>public static List<Class<? extends StandardLoader>> getDefaultLoaderList()
Copyright © 2017. All rights reserved.