Package org.mule.metadata.api.builder
Class IntersectionTypeBuilder
- java.lang.Object
-
- org.mule.metadata.api.builder.AbstractBuilder<IntersectionType>
-
- org.mule.metadata.api.builder.IntersectionTypeBuilder
-
- All Implemented Interfaces:
TypeBuilder<IntersectionType>,WithAnnotation<IntersectionTypeBuilder>
public class IntersectionTypeBuilder extends AbstractBuilder<IntersectionType> implements TypeBuilder<IntersectionType>, WithAnnotation<IntersectionTypeBuilder>
-
-
Field Summary
-
Fields inherited from class org.mule.metadata.api.builder.AbstractBuilder
annotations, format
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedIntersectionTypeBuilder(MetadataFormat format)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IntersectionTypebuild()IntersectionTypeBuilderid(String typeIdentifier)BaseTypeBuilderof()IntersectionTypeBuilderof(TypeBuilder<?> of)IntersectionTypeBuilderwith(TypeAnnotation extension)Contributes a builder withTypeAnnotations-
Methods inherited from class org.mule.metadata.api.builder.AbstractBuilder
addExtension
-
-
-
-
Constructor Detail
-
IntersectionTypeBuilder
protected IntersectionTypeBuilder(MetadataFormat format)
-
-
Method Detail
-
of
public BaseTypeBuilder of()
-
of
public IntersectionTypeBuilder of(TypeBuilder<?> of)
-
id
public IntersectionTypeBuilder id(String typeIdentifier)
-
with
public IntersectionTypeBuilder with(TypeAnnotation extension)
Description copied from interface:WithAnnotationContributes a builder withTypeAnnotations- Specified by:
within interfaceWithAnnotation<IntersectionTypeBuilder>- Parameters:
extension-TypeAnnotationto add- Returns:
- contributed {@param
} builder
-
build
public IntersectionType build()
- Specified by:
buildin interfaceTypeBuilder<IntersectionType>
-
-