public final class GroupValueSetter extends Object implements ValueSetter
ValueSetter for parameter groups.
Parameter groups are a set of parameters defined inside a Pojo in order to reference them
as a group and avoid code repetition. The parameter groups are defined by applying
the ParameterGroup annotation to a field.
This ValueSetter knows how to map a ResolverSetResult to an object
which acts as a group. Because group nesting is allowed, this class is a composite
with a childSetters collection.| Constructor and Description |
|---|
GroupValueSetter(ParameterGroup group) |
| Modifier and Type | Method and Description |
|---|---|
void |
set(Object target,
ResolverSetResult result)
Sets on
target values contained in result. |
static List<ValueSetter> |
settersFor(org.mule.extension.introspection.Capable capable) |
public GroupValueSetter(ParameterGroup group)
public static List<ValueSetter> settersFor(org.mule.extension.introspection.Capable capable)
public void set(Object target, ResolverSetResult result) throws MuleException
ValueSettertarget values contained in result. This method
does not guarantee how many of the values contained in result are
actually assigned (if any). Implementations are free to decide using
only a sub set of those values or none at allset in interface ValueSettertarget - the object on which values are to be setresult - a ResolverSetResultMuleExceptionCopyright © 2003–2015 MuleSoft, Inc.. All rights reserved.