public class ParameterGroup extends Object implements org.mule.extension.introspection.Capable
Capable,
allowing for this group to have a ParameterGroupCapability which
describes the nested group.
To decouple this class from the representation model (which depending on the
context could be a Declaration or an actual Parameter, this class
references parameters by name| Constructor and Description |
|---|
ParameterGroup(Class<?> type,
Field field) |
| Modifier and Type | Method and Description |
|---|---|
void |
addCapability(Object capability) |
ParameterGroup |
addParameter(String name,
Field field)
Adds a parameter to the group
|
<T> Set<T> |
getCapabilities(Class<T> capabilityType) |
Field |
getField() |
Map<String,Field> |
getParameters() |
Class<?> |
getType() |
boolean |
isCapableOf(Class<?> capabilityType) |
public ParameterGroup addParameter(String name, Field field)
name - the name of the parameterfield - the parameter's Fieldpublic Class<?> getType()
public Field getField()
public void addCapability(Object capability)
public <T> Set<T> getCapabilities(Class<T> capabilityType)
getCapabilities in interface org.mule.extension.introspection.Capablepublic boolean isCapableOf(Class<?> capabilityType)
isCapableOf in interface org.mule.extension.introspection.CapableCopyright © 2003–2023 MuleSoft, Inc.. All rights reserved.