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 List<ConfigurationProperty> |
calculateDiff(ConfigurationPropertiesImpl properties,
Configuration config)
Calculate the difference between the given config and the properties.
|
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)
public static List<ConfigurationProperty> calculateDiff(ConfigurationPropertiesImpl properties, Configuration config) throws Exception
properties
- config
- Exception
Copyright © 2018–2025. All rights reserved.