Class Context.Builder
java.lang.Object
io.helidon.common.context.Context.Builder
- All Implemented Interfaces:
Builder<Context.Builder, Context>, Supplier<Context>
- Enclosing interface:
Context
Fluent API builder for
Context.-
Method Summary
Modifier and TypeMethodDescriptionbuild()Build the instance from this builder.Identification of the new context, should be unique within this runtime.Parent of the new context.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault Contextget()default Context.Builderidentity()Instance of this builder as the correct type.default Context.Builderupdate(Consumer<Context.Builder> consumer) Update the builder in a fluent API way.
-
Method Details
-
build
-
parent
Parent of the new context.- Parameters:
parent- parent context- Returns:
- updated builder instance
-
id
Identification of the new context, should be unique within this runtime.- Parameters:
id- context identification- Returns:
- updated builder instance
-