public class OutputDeclarer<T extends OutputDeclarer> extends Object implements HasModelProperties<OutputDeclarer<T>>
OutputDeclaration through a fluent API| Modifier and Type | Method and Description |
|---|---|
T |
describedAs(String description)
Adds a description
|
OutputDeclaration |
getDeclaration()
Gets the declaration object for this descriptor
|
T |
ofDynamicType(org.mule.metadata.api.model.MetadataType type)
Specifies that the Element being described has a
type
of dynamic kind, meaning that this Element's type is
bounded to the component's configuration during
application design time and should be discovered using the MetadataService service |
T |
ofType(org.mule.metadata.api.model.MetadataType type)
Specifies that the
OutputModel has a type
of static kind. |
OutputDeclarer<T> |
withModelProperty(ModelProperty modelProperty)
Adds the given
modelProperty |
public T ofType(org.mule.metadata.api.model.MetadataType type)
OutputModel has a type
of static kind.type - the type of the parameterpublic T ofDynamicType(org.mule.metadata.api.model.MetadataType type)
type
of dynamic kind, meaning that this Element's type is
bounded to the component's configuration during
application design time and should be discovered using the MetadataService servicetype - the type of the Element being describedthis declarerpublic T describedAs(String description)
description - a descriptionthis descriptorpublic OutputDeclarer<T> withModelProperty(ModelProperty modelProperty)
modelPropertywithModelProperty in interface HasModelProperties<OutputDeclarer<T extends OutputDeclarer>>modelProperty - a ModelPropertythis declarerpublic OutputDeclaration getDeclaration()
OutputDeclarationCopyright © 2017 MuleSoft, Inc.. All rights reserved.