Class MessagingChannel.BuilderBase<T, BUILDER extends MessagingChannel.BuilderBase<T, BUILDER, PROTOTYPE>, PROTOTYPE extends MessagingChannel<T>>
java.lang.Object
io.helidon.messaging.MessagingChannel.BuilderBase<T, BUILDER, PROTOTYPE>
- Type Parameters:
T- payload typeBUILDER- 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:
MessagingChannel.Builder
- Enclosing interface:
MessagingChannel<T>
public abstract static class MessagingChannel.BuilderBase<T, BUILDER extends MessagingChannel.BuilderBase<T, BUILDER, PROTOTYPE>, PROTOTYPE extends MessagingChannel<T>>
extends Object
implements Prototype.Builder<BUILDER, PROTOTYPE>
Fluent API builder base for
MessagingChannel.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfrom(MessagingChannel.BuilderBase<T, ?, ?> builder) Update this builder from an existing prototype builder instance.from(MessagingChannel<T> prototype) Update this builder from an existing prototype instance.name()Channel name.Channel name.Complete channel payload type.payloadType(GenericType<T> payloadType) Complete channel payload type.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
-
name
-
payloadType
Complete channel payload type.- Parameters:
payloadType- payload type- Returns:
- updated builder instance
- See Also:
-
name
-
payloadType
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-