Class Qualifier.BuilderBase<BUILDER extends Qualifier.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Qualifier>
java.lang.Object
io.helidon.common.types.Annotation.BuilderBase<BUILDER, PROTOTYPE>
io.helidon.service.registry.Qualifier.BuilderBase<BUILDER, PROTOTYPE>
- Type Parameters:
BUILDER- type of the builder extending this abstract builderPROTOTYPE- type of the prototype interface that would be built byPrototype.Builder.buildPrototype()
- All Implemented Interfaces:
Prototype.Builder<BUILDER, PROTOTYPE>
- Direct Known Subclasses:
Qualifier.Builder
- Enclosing interface:
Qualifier
public abstract static class Qualifier.BuilderBase<BUILDER extends Qualifier.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Qualifier>
extends Annotation.BuilderBase<BUILDER, PROTOTYPE>
implements Prototype.Builder<BUILDER, PROTOTYPE>
Fluent API builder base for
Qualifier.-
Nested Class Summary
Nested ClassesModifier 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. -
Constructor Summary
Constructors -
Method Summary
Modifier 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 Prototype.Builder
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
toString
- Overrides:
toStringin classAnnotation.BuilderBase<BUILDER extends Qualifier.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Qualifier>
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators.- Overrides:
preBuildPrototypein classAnnotation.BuilderBase<BUILDER extends Qualifier.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Qualifier>
-
validatePrototype
protected void validatePrototype()Validates required properties.- Overrides:
validatePrototypein classAnnotation.BuilderBase<BUILDER extends Qualifier.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends Qualifier>
-