Package org.mule.metadata.api.builder
Class TypeParameterTypeBuilder
- java.lang.Object
-
- org.mule.metadata.api.builder.AbstractBuilder<TypeParameterType>
-
- org.mule.metadata.api.builder.TypeParameterTypeBuilder
-
- All Implemented Interfaces:
TypeBuilder<TypeParameterType>,WithAnnotation<TypeParameterTypeBuilder>
public class TypeParameterTypeBuilder extends AbstractBuilder<TypeParameterType> implements TypeBuilder<TypeParameterType>, WithAnnotation<TypeParameterTypeBuilder>
-
-
Field Summary
-
Fields inherited from class org.mule.metadata.api.builder.AbstractBuilder
annotations, format
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedTypeParameterTypeBuilder(String name, MetadataFormat format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TypeParameterTypebuild()TypeParameterTypeBuilderdefaultValue(String defaultValue)TypeParameterTypeBuilderid(String typeIdentifier)TypeParameterTypeBuilderwith(TypeAnnotation extension)Contributes a builder withTypeAnnotations-
Methods inherited from class org.mule.metadata.api.builder.AbstractBuilder
addExtension
-
-
-
-
Constructor Detail
-
TypeParameterTypeBuilder
protected TypeParameterTypeBuilder(String name, MetadataFormat format)
-
-
Method Detail
-
with
public TypeParameterTypeBuilder with(TypeAnnotation extension)
Description copied from interface:WithAnnotationContributes a builder withTypeAnnotations- Specified by:
within interfaceWithAnnotation<TypeParameterTypeBuilder>- Parameters:
extension-TypeAnnotationto add- Returns:
- contributed {@param
} builder
-
id
public TypeParameterTypeBuilder id(String typeIdentifier)
-
defaultValue
public TypeParameterTypeBuilder defaultValue(String defaultValue)
-
build
public TypeParameterType build()
- Specified by:
buildin interfaceTypeBuilder<TypeParameterType>
-
-