public class JavaClassProperties extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
GROOVY_LANG_GROOVY_OBJECT |
Constructor and Description |
---|
JavaClassProperties() |
Modifier and Type | Method and Description |
---|---|
static Configuration |
createBean(ConfigurationPropertiesImpl properties,
Class<? extends Configuration> configClass)
Given a configuration class and populated properties, creates a bean for
it.
|
static ConfigurationPropertiesImpl |
createConfigurationProperties(Configuration config)
Given a configuration class, creates the configuration properties for it.
|
static void |
mergeIntoBean(ConfigurationPropertiesImpl properties,
Configuration config)
Given a configuration bean and populated properties, merges the
properties into the bean.
|
protected static final String GROOVY_LANG_GROOVY_OBJECT
public static ConfigurationPropertiesImpl createConfigurationProperties(Configuration config)
public static Configuration createBean(ConfigurationPropertiesImpl properties, Class<? extends Configuration> configClass)
public static void mergeIntoBean(ConfigurationPropertiesImpl properties, Configuration config)
Copyright © 2022. All rights reserved.