Class Context.Builder

java.lang.Object
io.helidon.common.context.Context.Builder
All Implemented Interfaces:
Builder<Context.Builder,Context>, Supplier<Context>
Enclosing interface:
Context

public static class Context.Builder extends Object implements Builder<Context.Builder,Context>
Fluent API builder for Context.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • build

      public Context build()
      Description copied from interface: Builder
      Build the instance from this builder.
      Specified by:
      build in interface Builder<Context.Builder,Context>
      Returns:
      instance of the built type
    • 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