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
.-
Constructor Summary
ConstructorDescriptionBuilder()
Deprecated, for removal: This API element is subject to removal in a future version. -
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.
-
Constructor Details
-
Builder
Deprecated, for removal: This API element is subject to removal in a future version.useContext.builder()
insteadThis constructor was accidentally left public.
-
-
Method Details
-
build
Description copied from interface:Builder
Build the instance from this builder.- Specified by:
build
in interfaceBuilder<Context.Builder,
Context> - Returns:
- instance of the built type
-
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
-
Context.builder()
instead