Class Qualifier.Builder
java.lang.Object
io.helidon.common.types.Annotation.BuilderBase<Qualifier.Builder, Qualifier>
io.helidon.service.registry.Qualifier.BuilderBase<Qualifier.Builder, Qualifier>
io.helidon.service.registry.Qualifier.Builder
- All Implemented Interfaces:
Prototype.Builder<Qualifier.Builder, Qualifier>, Builder<Qualifier.Builder, Qualifier>, Supplier<Qualifier>
- Enclosing interface:
Qualifier
public static class Qualifier.Builder
extends Qualifier.BuilderBase<Qualifier.Builder, Qualifier>
implements Builder<Qualifier.Builder, Qualifier>
Fluent API builder for
Qualifier.-
Nested Class Summary
Nested classes/interfaces inherited from class Qualifier.BuilderBase
Qualifier.BuilderBase.QualifierImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations.Nested classes/interfaces inherited from class Annotation.BuilderBase
Annotation.BuilderBase.AnnotationImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class Qualifier.BuilderBase
from, from, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionUpdate this builder from an existing prototype instance.from(Qualifier.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.toString()protected voidValidates required properties.Methods inherited from class Annotation.BuilderBase
addMetaAnnotation, addMetaAnnotation, addMetaAnnotations, addProperties, clearMetaAnnotations, clearOriginatingElement, from, from, metaAnnotations, metaAnnotations, originatingElement, originatingElement, properties, properties, property, putProperty, type, typeName, typeName, typeName, typeName, valueModifier and TypeMethodDescriptionaddMetaAnnotation(Annotation metaAnnotation) A list of inherited annotations (from the whole hierarchy).addMetaAnnotation(Consumer<Annotation.Builder> consumer) A list of inherited annotations (from the whole hierarchy).addMetaAnnotations(List<? extends Annotation> metaAnnotations) A list of inherited annotations (from the whole hierarchy).addProperties(Map<String, ? extends AnnotationProperty> properties) Properties defined on this annotation.Clear all metaAnnotations.Clear existing value of originatingElement.from(Annotation prototype) Update this builder from an existing prototype instance.from(Annotation.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.A list of inherited annotations (from the whole hierarchy).metaAnnotations(List<? extends Annotation> metaAnnotations) A list of inherited annotations (from the whole hierarchy).The element used to create this instance.originatingElement(Object originatingElement) The element used to create this instance.Properties defined on this annotation.properties(Map<String, ? extends AnnotationProperty> properties) Properties defined on this annotation.Configure the value of an annotation property.putProperty(String key, AnnotationProperty property) Properties defined on this annotation.Annotation type name from annotation type.typeName()The type name, e.g.,Objects-> "java.util.Objects".The type name, e.g.,Objects-> "java.util.Objects".typeName(Consumer<TypeName.Builder> consumer) The type name, e.g.,Objects-> "java.util.Objects".The type name, e.g.,Objects-> "java.util.Objects".Configure the value of this annotation (property of namevalue).Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault Qualifierget()default Qualifier.Builderidentity()Instance of this builder as the correct type.default Qualifier.Builderupdate(Consumer<Qualifier.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault Qualifier.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<Qualifier.Builder, Qualifier>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<Qualifier.Builder, Qualifier>- Returns:
- instance of the built type
-