public final class ParameterWrapper extends Object implements ParameterElement
IMPLICIT_ARGUMENT_TYPES| Constructor and Description |
|---|
ParameterWrapper(Method owner,
int index) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlias() |
<A extends Annotation> |
getAnnotation(Class<A> annotationClass)
Retrieves an annotation of the
WithAnnotations component |
Annotation[] |
getAnnotations() |
Type |
getJavaType() |
String |
getName()
Returns the component's name
|
String |
getOwnerDescription() |
Parameter |
getParameter() |
TypeWrapper |
getType() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDeclaringElementdefaultValue, getMetadataType, isRequired, shouldBeAdvertisedgetDescriptionisAnnotatedWithpublic ParameterWrapper(Method owner, int index)
public Parameter getParameter()
getParameter in interface ParameterElementParameterpublic TypeWrapper getType()
TypeWrapper of the represented componentpublic Annotation[] getAnnotations()
getAnnotations in interface WithAnnotationsWithAnnotations component is annotated withpublic <A extends Annotation> Optional<A> getAnnotation(Class<A> annotationClass)
WithAnnotations componentgetAnnotation in interface WithAnnotationsA - The annotation typeannotationClass - Of the annotation to retrieveOptional annotation to retrievepublic String getAlias()
public String getName()
getName in interface org.mule.runtime.api.meta.NamedObjectStringpublic String getOwnerDescription()
public Type getJavaType()
getJavaType in interface ExtensionParameterType of an ExtensionParameterCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.