public class ParameterUpdater extends Object implements groovy.lang.GroovyObject
| Modifier and Type | Class and Description |
|---|---|
static interface |
ParameterUpdater.Serializer |
| Constructor and Description |
|---|
ParameterUpdater(ParameterUpdater.Serializer serializer) |
| Modifier and Type | Method and Description |
|---|---|
groovy.lang.MetaClass |
getMetaClass() |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
void |
updateCollectionParameter(ParamConfig.UpdateStrategy strategy,
Map<String,Object> to,
String key,
Collection<Object> values) |
void |
updateParameters(ParamConfig.UpdateStrategy strategy,
Map<String,Object> from,
Map<String,Object> to) |
void |
updateStandardParameter(ParamConfig.UpdateStrategy strategy,
Map<String,Object> to,
String key) |
void |
updateStandardParameter(ParamConfig.UpdateStrategy strategy,
Map<String,Object> to,
String key,
Object value) |
void |
updateZeroToManyParameters(ParamConfig.UpdateStrategy strategy,
Map<String,Object> to,
String parameterName,
Object... parameterValues) |
public ParameterUpdater(ParameterUpdater.Serializer serializer)
public groovy.lang.MetaClass getMetaClass()
getMetaClass in interface groovy.lang.GroovyObjectpublic void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass in interface groovy.lang.GroovyObjectpublic Object invokeMethod(String method, Object arguments)
invokeMethod in interface groovy.lang.GroovyObjectpublic Object getProperty(String property)
getProperty in interface groovy.lang.GroovyObjectpublic void setProperty(String property, Object value)
setProperty in interface groovy.lang.GroovyObjectpublic void updateParameters(ParamConfig.UpdateStrategy strategy, Map<String,Object> from, Map<String,Object> to)
public void updateCollectionParameter(ParamConfig.UpdateStrategy strategy, Map<String,Object> to, String key, Collection<Object> values)
public void updateZeroToManyParameters(ParamConfig.UpdateStrategy strategy, Map<String,Object> to, String parameterName, Object... parameterValues)
public void updateStandardParameter(ParamConfig.UpdateStrategy strategy, Map<String,Object> to, String key)
Copyright © 2010–2015. All rights reserved.