Class MessagingChannelConfig.Builder
java.lang.Object
io.helidon.messaging.spi.MessagingChannelConfig.BuilderBase<MessagingChannelConfig.Builder, MessagingChannelConfig>
io.helidon.messaging.spi.MessagingChannelConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<MessagingChannelConfig.Builder, MessagingChannelConfig>, Builder<MessagingChannelConfig.Builder, MessagingChannelConfig>, ConfigBuilderSupport.ConfiguredBuilder<MessagingChannelConfig.Builder, MessagingChannelConfig>, Supplier<MessagingChannelConfig>
- Enclosing interface:
MessagingChannelConfig
public static class MessagingChannelConfig.Builder
extends MessagingChannelConfig.BuilderBase<MessagingChannelConfig.Builder, MessagingChannelConfig>
implements Builder<MessagingChannelConfig.Builder, MessagingChannelConfig>
Fluent API builder for
MessagingChannelConfig.-
Nested Class Summary
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. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class MessagingChannelConfig.BuilderBase
channelName, channelName, config, config, connector, connector, execution, execution, execution, execution, from, from, preBuildPrototype, toString, validatePrototypeModifier and TypeMethodDescriptionLogical messaging channel name.channelName(String channelName) Logical messaging channel name.config()Original channel configuration node, including connector-specific options.Update builder from configuration (node of this type).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.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 Builder
get, identity, updateModifier and TypeMethodDescriptiondefault MessagingChannelConfigget()default MessagingChannelConfig.Builderidentity()Instance of this builder as the correct type.default MessagingChannelConfig.Builderupdate(Consumer<MessagingChannelConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault MessagingChannelConfig.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<MessagingChannelConfig.Builder, MessagingChannelConfig>- 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<MessagingChannelConfig.Builder, MessagingChannelConfig>- Returns:
- instance of the built type
-