@Deprecated public class ApplicationConfigHelper extends Object
ApplicationConfig.| Modifier | Constructor and Description |
|---|---|
protected |
ApplicationConfigHelper()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Set<ApplicationConfig.OptionDef> |
getFinalOptions(Set<ApplicationConfigProvider> providers)
Deprecated.
Gets all final options from the given providers.
|
static ApplicationConfigProvider |
getProvider(ClassLoader classLoader,
String name)
Deprecated.
|
static Set<ApplicationConfigProvider> |
getProviders(ClassLoader classLoader,
Set<String> includes,
Set<String> excludes,
boolean verbose)
Deprecated.
Obtain all providers on class-path.
|
static Set<ApplicationConfig.OptionDef> |
getTransientOptions(Set<ApplicationConfigProvider> providers)
Deprecated.
Gets all transient options from the given providers.
|
static Set<String> |
getTransientOrFinalOptionKey(Set<ApplicationConfigProvider> providers)
Deprecated.
Get all option keys that should not be saved in the user config file
from the given options providers.
|
static void |
loadAllDefaultOption(ApplicationConfig config,
Set<ApplicationConfigProvider> providers)
Deprecated.
Load default options from all given config providers.
|
public static Set<ApplicationConfigProvider> getProviders(ClassLoader classLoader, Set<String> includes, Set<String> excludes, boolean verbose)
classLoader - optional classLoader used to seek for providersincludes - optional includes providers to use (if none then accept all providers)excludes - optional excludes providers (if none the no reject)verbose - verbose flagpublic static ApplicationConfigProvider getProvider(ClassLoader classLoader, String name)
public static void loadAllDefaultOption(ApplicationConfig config, Set<ApplicationConfigProvider> providers)
config - config where to add default options.providers - providers to usepublic static Set<ApplicationConfig.OptionDef> getTransientOptions(Set<ApplicationConfigProvider> providers)
providers - providers to inspectApplicationConfig.OptionDef.isTransient()public static Set<ApplicationConfig.OptionDef> getFinalOptions(Set<ApplicationConfigProvider> providers)
providers - providers to inspectApplicationConfig.OptionDef.isFinal()public static Set<String> getTransientOrFinalOptionKey(Set<ApplicationConfigProvider> providers)
transient or final.providers - providers to inspectApplicationConfig.OptionDef.isFinal(),
ApplicationConfig.OptionDef.isTransient()Copyright © 2004-2013 CodeLutin. All Rights Reserved.