public class ComponentMetadataDescriptorBuilder extends Object
ComponentMetadataDescriptor| Modifier and Type | Method and Description |
|---|---|
ComponentMetadataDescriptor |
build() |
ComponentMetadataDescriptorBuilder |
withContentDescriptor(MetadataResult<ParameterMetadataDescriptor> content) |
ComponentMetadataDescriptorBuilder |
withOutputDescriptor(MetadataResult<OutputMetadataDescriptor> output) |
ComponentMetadataDescriptorBuilder |
withParametersDescriptor(List<MetadataResult<ParameterMetadataDescriptor>> parameters) |
public ComponentMetadataDescriptorBuilder withParametersDescriptor(List<MetadataResult<ParameterMetadataDescriptor>> parameters)
parameters - a MetadataResult of List of TypeMetadataDescriptor that describe the metadata for each parameter
of the component described.public ComponentMetadataDescriptorBuilder withOutputDescriptor(MetadataResult<OutputMetadataDescriptor> output)
output - a MetadataResult of OutputMetadataDescriptor that describes the output of the componentOutputMetadataDescriptorpublic ComponentMetadataDescriptorBuilder withContentDescriptor(MetadataResult<ParameterMetadataDescriptor> content)
content - a MetadataResult of ParameterMetadataDescriptor that describes the metadata for the content of the component describedTypeMetadataDescriptor for contentpublic ComponentMetadataDescriptor build()
ComponentMetadataDescriptor instance with the metadata description for the content, output, and
type of each of the parameters of the ComponentIllegalArgumentException - if the OutputMetadataDescriptor was not set during buildingCopyright © 2016 MuleSoft, Inc.. All rights reserved.