Module io.helidon.inject.api
Package io.helidon.inject.api
Class CallingContext.BuilderBase<BUILDER extends CallingContext.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends CallingContext>
java.lang.Object
io.helidon.inject.api.CallingContext.BuilderBase<BUILDER,PROTOTYPE>
- Type Parameters:
BUILDER- 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:
CallingContext.Builder
- Enclosing interface:
CallingContext
public abstract static class CallingContext.BuilderBase<BUILDER extends CallingContext.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends CallingContext>
extends Object
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
CallingContext.-
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 TypeMethodDescriptionClear existing value of this property.Clear existing value of this property.from(CallingContext prototype) Update this builder from an existing prototype instance.from(CallingContext.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Only populated whenmoduleis set.moduleName(String moduleName) Only populated whenmoduleis set.protected voidHandles providers and decorators.Only populated whenInjectionServices.TAG_DEBUGis set.stackTrace(StackTraceElement[] stackTrace) Only populated whenInjectionServices.TAG_DEBUGis set.The thread that created the calling context.threadName(String threadName) The thread that created the calling context.toString()protected voidValidates required properties.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface io.helidon.builder.api.Prototype.Builder
buildPrototype, self
-
Constructor Details
-
BuilderBase
protected BuilderBase()Protected to support extensibility.
-
-
Method Details
-
from
Update this builder from an existing prototype instance.- 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
-
clearStackTrace
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
stackTrace
Only populated whenInjectionServices.TAG_DEBUGis set.- Parameters:
stackTrace- the stack trace for who initialized- Returns:
- updated builder instance
- See Also:
-
clearModuleName
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
moduleName
Only populated whenmoduleis set.- Parameters:
moduleName- the module name- Returns:
- updated builder instance
- See Also:
-
threadName
The thread that created the calling context.- Parameters:
threadName- thread creating the calling context- Returns:
- updated builder instance
- See Also:
-
stackTrace
Only populated whenInjectionServices.TAG_DEBUGis set.- Returns:
- the stack trace
-
moduleName
Only populated whenmoduleis set.- Returns:
- the module name
-
threadName
The thread that created the calling context.- Returns:
- the thread name
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-