Class MessagingOutgoingConfig.BuilderBase<BUILDER extends MessagingOutgoingConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends MessagingOutgoingConfig>
java.lang.Object
io.helidon.messaging.spi.MessagingChannelConfig.BuilderBase<BUILDER, PROTOTYPE>
io.helidon.messaging.spi.MessagingOutgoingConfig.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:
MessagingOutgoingConfig.Builder
- Enclosing interface:
MessagingOutgoingConfig
public abstract static class MessagingOutgoingConfig.BuilderBase<BUILDER extends MessagingOutgoingConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends MessagingOutgoingConfig>
extends MessagingChannelConfig.BuilderBase<BUILDER, PROTOTYPE>
implements ConfigBuilderSupport.ConfiguredBuilder<BUILDER, PROTOTYPE>
Fluent API builder base for
MessagingOutgoingConfig.-
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 MessagingChannelConfig.BuilderBase
MessagingChannelConfig.BuilderBase.MessagingChannelConfigImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUpdate builder from configuration (node of this type).from(MessagingOutgoingConfig prototype) Update this builder from an existing prototype instance.from(MessagingOutgoingConfig.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 MessagingChannelConfig.BuilderBase
channelName, channelName, config, connector, connector, execution, execution, execution, execution, from, fromModifier and TypeMethodDescriptionLogical messaging channel name.channelName(String channelName) Logical messaging channel name.config()Original channel configuration node, including connector-specific options.Name of the configured connector instance used by this channel connection.Name of the configured connector instance used by this channel connection.Execution overrides for this channel.execution(MessagingExecutionConfig execution) Execution overrides for this channel.execution(Consumer<MessagingExecutionConfig.Builder> consumer) Execution overrides for this channel.execution(Supplier<? extends MessagingExecutionConfig> supplier) Execution overrides for this channel.from(MessagingChannelConfig prototype) Update this builder from an existing prototype instance.from(MessagingChannelConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.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 MessagingOutgoingConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends MessagingOutgoingConfig>- Overrides:
configin classMessagingChannelConfig.BuilderBase<BUILDER extends MessagingOutgoingConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends MessagingOutgoingConfig>- Parameters:
config- configuration instance used to obtain values to update this builder- Returns:
- updated builder instance
-
toString
- Overrides:
toStringin classMessagingChannelConfig.BuilderBase<BUILDER extends MessagingOutgoingConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends MessagingOutgoingConfig>
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators.- Overrides:
preBuildPrototypein classMessagingChannelConfig.BuilderBase<BUILDER extends MessagingOutgoingConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends MessagingOutgoingConfig>
-
validatePrototype
protected void validatePrototype()Validates required properties.- Overrides:
validatePrototypein classMessagingChannelConfig.BuilderBase<BUILDER extends MessagingOutgoingConfig.BuilderBase<BUILDER, PROTOTYPE>, PROTOTYPE extends MessagingOutgoingConfig>
-