public class ConfigHelper extends Object
| Constructor and Description |
|---|
ConfigHelper() |
| Modifier and Type | Method and Description |
|---|---|
static <T> void |
configure(Component component,
String configName,
T configValue)
Deprecated.
|
static List<ConfigOption> |
getConfigOptions(Class<? extends Component> component)
Returns all config options for the given component.
|
static List<ConfigOption> |
getConfigOptions(Component component)
Returns all config options for the given component.
|
static Map<Field,Class<?>> |
getConfigOptionTypes(Class<?> component)
Returns all config options for the given component.
|
static Map<Field,Class<?>> |
getConfigOptionTypes(Class<?> component,
boolean useSuperTypes)
Returns all config options for the given component.
|
static Map<Field,Object> |
getConfigOptionValues(Component component) |
public ConfigHelper()
@Deprecated public static <T> void configure(Component component, String configName, T configValue)
component - the component to be configuredconfigName - the name of the config optionconfigValue - the value of the config optionpublic static List<ConfigOption> getConfigOptions(Component component)
component - public static Map<Field,Object> getConfigOptionValues(Component component)
component - The component to analyse.public static List<ConfigOption> getConfigOptions(Class<? extends Component> component)
component - public static Map<Field,Class<?>> getConfigOptionTypes(Class<?> component)
component - public static Map<Field,Class<?>> getConfigOptionTypes(Class<?> component, boolean useSuperTypes)
component -
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann