Package io.helidon.common.context
Class Context.Builder
- java.lang.Object
-
- io.helidon.common.context.Context.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Contextbuild()Build the instance from this builder.Context.Builderid(String id)Identification of the new context, should be unique within this runtime.Context.Builderparent(Context parent)Parent of the new context.
-
-
-
Method Detail
-
build
public Context build()
Description copied from interface:BuilderBuild the instance from this builder.
-
parent
public Context.Builder parent(Context parent)
Parent of the new context.- Parameters:
parent- parent context- Returns:
- updated builder instance
-
id
public Context.Builder id(String id)
Identification of the new context, should be unique within this runtime.- Parameters:
id- context identification- Returns:
- updated builder instance
-
-