public class ParameterDeclarer<T extends ParameterDeclarer> extends Object implements HasModelProperties<ParameterDeclarer<T>>
ParameterDeclaration through a fluent API| Modifier and Type | Method and Description |
|---|---|
T |
describedAs(String description)
Adds a description
|
ParameterDeclaration |
getDeclaration()
Gets the declaration object for this descriptor
|
T |
ofDynamicType(org.mule.metadata.api.model.MetadataType type)
Specifies the type of the
ParameterModel |
T |
ofType(org.mule.metadata.api.model.MetadataType type)
Specifies the type of the
ParameterModel |
T |
withExpressionSupport(ExpressionSupport support) |
ParameterDeclarer<T> |
withModelProperty(ModelProperty modelProperty)
Adds the given
modelProperty |
public T ofType(org.mule.metadata.api.model.MetadataType type)
ParameterModeltype - the type of the parameterpublic T ofDynamicType(org.mule.metadata.api.model.MetadataType type)
ParameterModeltype - the type of the parameterpublic T describedAs(String description)
description - a descriptionthis descriptorpublic T withExpressionSupport(ExpressionSupport support)
public ParameterDeclarer<T> withModelProperty(ModelProperty modelProperty)
modelPropertywithModelProperty in interface HasModelProperties<ParameterDeclarer<T extends ParameterDeclarer>>modelProperty - a ModelPropertythis declarerpublic ParameterDeclaration getDeclaration()
ParameterDeclarationCopyright © 2016 MuleSoft, Inc.. All rights reserved.