java.lang.Object
io.helidon.pico.api.CallingContext
io.helidon.pico.api.AbstractCallingContext
- Direct Known Subclasses:
DefaultCallingContext
@Generated(value="io.helidon.builder.processor.tools.DefaultBuilderCreatorProvider",
comments="version=1")
public abstract class AbstractCallingContext
extends CallingContext
Abstract implementation w/ builder for
CallingContext.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbstractCallingContext.Builder<B extends AbstractCallingContext.Builder<B,T>, T extends CallingContext> Fluent API builder forT. -
Field Summary
Fields inherited from class io.helidon.pico.api.CallingContext
DEBUG_HINT -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedConstructor using the builder argument. -
Method Summary
Modifier and TypeMethodDescriptionThe map of meta attributes describing each element of this type.booleaninthashCode()Only populated whenPicoServicesConfig.TAG_MODULE_NAMEis set.The thread that created the calling context.protected StringProduces the inner portion of the toString() output (i.e., what is between the parens).trace()Only populated whenPicoServicesConfig.TAG_DEBUGis set.<T> voidvisitAttributes(AttributeVisitor<T> visitor, T userDefinedCtx) Visits all attributes of io.helidon.pico.api.CallingContext, calling theAttributeVisitorfor each.Methods inherited from class io.helidon.pico.api.CallingContext
globalCallingContext, toErrorMessage, toErrorMessage, toString
-
Constructor Details
-
AbstractCallingContext
Constructor using the builder argument.- Parameters:
b- the builder
-
-
Method Details
-
trace
Description copied from class:CallingContextOnly populated whenPicoServicesConfig.TAG_DEBUGis set.- Specified by:
tracein classCallingContext- Returns:
- the stack trace for who initialized
-
moduleName
Description copied from class:CallingContextOnly populated whenPicoServicesConfig.TAG_MODULE_NAMEis set.- Specified by:
moduleNamein classCallingContext- Returns:
- the module name
-
threadName
Description copied from class:CallingContextThe thread that created the calling context.- Specified by:
threadNamein classCallingContext- Returns:
- thread creating the calling context
-
__metaAttributes
The map of meta attributes describing each element of this type.- Returns:
- the map of meta attributes using the key being the attribute name
-
toStringInner
Produces the inner portion of the toString() output (i.e., what is between the parens).- Returns:
- portion of the toString output
-
hashCode
public int hashCode() -
equals
-
visitAttributes
Visits all attributes of io.helidon.pico.api.CallingContext, calling theAttributeVisitorfor each.- Type Parameters:
T- type of the user defined context- Parameters:
visitor- the visitor called for each attributeuserDefinedCtx- any object you wish to pass to each visit call
-