Class DeadLetterConfig.BuilderBase<BUILDER extends DeadLetterConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends DeadLetterConfig>
java.lang.Object
io.helidon.messaging.DeadLetterConfig.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>, ConfigBuilderSupport.ConfiguredBuilder<BUILDER, PROTOTYPE>
- Direct Known Subclasses:
DeadLetterConfig.Builder
- Enclosing interface:
DeadLetterConfig
public abstract static class DeadLetterConfig.BuilderBase<BUILDER extends DeadLetterConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends DeadLetterConfig>
extends Object
implements ConfigBuilderSupport.ConfiguredBuilder<BUILDER, PROTOTYPE>
Fluent API builder base for
DeadLetterConfig.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected final DeadLetterConfigbuildPrototype(DeadLetterConfig.BuilderBase<?, ?> builder) Create a new prototype instance from a builder.channel()Logical channel required for dead-letter delivery.Logical channel required for dead-letter delivery.config()Configuration used to configure this instance.Update builder from configuration (node of this type).from(DeadLetterConfig prototype) Update this builder from an existing prototype instance.from(DeadLetterConfig.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 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
Update this builder from an existing prototype instance. This method disables automatic service discovery.- Parameters:
prototype- existing prototype to update this builder from- Returns:
- updated builder instance
-
from
Update this builder from an existing prototype builder instance.- Parameters:
builder- existing builder prototype to update this builder from- Returns:
- updated builder instance
-
config
Update builder from configuration (node of this type). If a value is present in configuration, it would override currently configured values.- Specified by:
configin interfaceConfigBuilderSupport.ConfiguredBuilder<BUILDER extends DeadLetterConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends DeadLetterConfig>- Parameters:
config- configuration instance used to obtain values to update this builder- Returns:
- updated builder instance
-
channel
-
channel
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties. -
buildPrototype
Create a new prototype instance from a builder.- Parameters:
builder- builder used to create the prototype- Returns:
- new prototype instance
-
config
-