public static class OutputMetadataDescriptor.OutputMetadataDescriptorBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
OutputMetadataDescriptor |
build() |
OutputMetadataDescriptor.OutputMetadataDescriptorBuilder |
withAttributesType(org.mule.metadata.api.model.MetadataType attributesType)
Describes that the output
Message.getAttributes() MetadataType of the component will be
|
OutputMetadataDescriptor.OutputMetadataDescriptorBuilder |
withAttributesType(TypeMetadataDescriptor attributesTypeResult)
Adds a
MetadataResult of TypeMetadataDescriptor that describes the he output
Message.getAttributes() MetadataType. |
OutputMetadataDescriptor.OutputMetadataDescriptorBuilder |
withReturnType(org.mule.metadata.api.model.MetadataType returnType)
Describes that the return type of the component will be of
MetadataType |
OutputMetadataDescriptor.OutputMetadataDescriptorBuilder |
withReturnType(TypeMetadataDescriptor returnTypeResult)
Adds a
MetadataResult of TypeMetadataDescriptor that describes the return type of
the component. |
public OutputMetadataDescriptor.OutputMetadataDescriptorBuilder withReturnType(TypeMetadataDescriptor returnTypeResult)
MetadataResult of TypeMetadataDescriptor that describes the return type of
the component.returnTypeResult - a MetadataResult of TypeMetadataDescriptor describing the component output return
typeTypeMetadataDescriptor for return typepublic OutputMetadataDescriptor.OutputMetadataDescriptorBuilder withAttributesType(TypeMetadataDescriptor attributesTypeResult)
MetadataResult of TypeMetadataDescriptor that describes the he output
Message.getAttributes() MetadataType.attributesTypeResult - a MetadataResult of TypeMetadataDescriptor describing the component output
attributes type.TypeMetadataDescriptor for message attributespublic OutputMetadataDescriptor.OutputMetadataDescriptorBuilder withReturnType(org.mule.metadata.api.model.MetadataType returnType)
MetadataType returnType - of the component returnTypeResult outputTypeMetadataDescriptor for return typepublic OutputMetadataDescriptor.OutputMetadataDescriptorBuilder withAttributesType(org.mule.metadata.api.model.MetadataType attributesType)
Message.getAttributes() MetadataType of the component will be
attributesType - of the component output attributesTypeMetadataDescriptor for message attributespublic OutputMetadataDescriptor build()
OutputMetadataDescriptor instance with the metadata description for the output of a
MetadataProvider componentIllegalArgumentException - if the Message.getPayload() or Message.getAttributes() were not set
during buildingCopyright © 2017 MuleSoft, Inc.. All rights reserved.