public class TypeMetadataDescriptorBuilder extends Object
TypeMetadataDescriptor| Modifier and Type | Method and Description |
|---|---|
TypeMetadataDescriptor |
build()
Builds and creates the descriptor of the component.
|
TypeMetadataDescriptorBuilder |
withType(org.mule.metadata.api.model.MetadataType type)
Indicates that the component will be of type
|
public TypeMetadataDescriptorBuilder withType(org.mule.metadata.api.model.MetadataType type)
type - of the component parameterMetadataTypepublic 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 © 2016 MuleSoft, Inc.. All rights reserved.