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