public static class ParameterMetadataDescriptor.ParameterMetadataDescriptorBuilder extends Object
TypeMetadataDescriptor
Modifier and Type | Method and Description |
---|---|
ParameterMetadataDescriptor |
build()
Builds and creates the descriptor of the component parameter.
|
ParameterMetadataDescriptor.ParameterMetadataDescriptorBuilder |
dynamic(boolean isDynamic)
Indicates that the type comes from a dynamic type resolver
|
ParameterMetadataDescriptor.ParameterMetadataDescriptorBuilder |
withType(MetadataType type)
Indicates that the component parameter with name
name will be of type |
public ParameterMetadataDescriptor.ParameterMetadataDescriptorBuilder withType(MetadataType type)
name
will be of type type
- of the component parameterMetadataType
public ParameterMetadataDescriptor.ParameterMetadataDescriptorBuilder dynamic(boolean isDynamic)
isDynamic
- whether or not the provided type comes from a dynamic type resolverMetadataType
public ParameterMetadataDescriptor build()
TypeMetadataDescriptor
with the metadata description of the component parameterIllegalArgumentException
- if type was not set during buildingCopyright © 2018. All rights reserved.