public static class TypeMetadataDescriptor.TypeMetadataDescriptorBuilder extends Object
TypeMetadataDescriptor| Modifier and Type | Method and Description |
|---|---|
TypeMetadataDescriptor |
build()
Builds and creates the descriptor of the component.
|
TypeMetadataDescriptor.TypeMetadataDescriptorBuilder |
dynamic(boolean isDynamic)
Indicates that the type comes from a dynamic type resolver
|
TypeMetadataDescriptor.TypeMetadataDescriptorBuilder |
withType(org.mule.metadata.api.model.MetadataType type)
Indicates that the component will be of type
|
public TypeMetadataDescriptor.TypeMetadataDescriptorBuilder withType(org.mule.metadata.api.model.MetadataType type)
type - of the component parameterMetadataTypepublic TypeMetadataDescriptor.TypeMetadataDescriptorBuilder dynamic(boolean isDynamic)
isDynamic - whether or not the provided type comes from a dynamic type resolverMetadataTypepublic TypeMetadataDescriptor build()
Validates that the type is not null.
TypeMetadataDescriptor with the metadata description of the component.IllegalArgumentException - if type was not set during buildingCopyright © 2017 MuleSoft, Inc.. All rights reserved.