Module io.helidon.inject.api
Package io.helidon.inject.api
Class ActivationLogEntry.BuilderBase<BUILDER extends ActivationLogEntry.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ActivationLogEntry>
java.lang.Object
io.helidon.inject.api.ActivationLogEntry.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:
ActivationLogEntry.Builder
- Enclosing interface:
ActivationLogEntry
public abstract static class ActivationLogEntry.BuilderBase<BUILDER extends ActivationLogEntry.BuilderBase<BUILDER,PROTOTYPE>,PROTOTYPE extends ActivationLogEntry>
extends Object
implements Prototype.Builder<BUILDER,PROTOTYPE>
Fluent API builder base for
ActivationLogEntry.-
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 TypeMethodDescriptionOptionally, when this log entry pertains to a service provider activation.activationResult(ActivationResult activationResult) Optionally, when this log entry pertains to a service provider activation.activationResult(Consumer<ActivationResult.Builder> consumer) Optionally, when this log entry pertains to a service provider activation.Clear existing value of this property.Clear existing value of this property.Clear existing value of this property.Clear existing value of this property.Clear existing value of this property.error()Any observed error during activation.Any observed error during activation.event()The event.The event.from(ActivationLogEntry prototype) Update this builder from an existing prototype instance.from(ActivationLogEntry.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.Optionally, the injection point that the event pertains to.injectionPoint(InjectionPointInfo injectionPoint) Optionally, the injection point that the event pertains to.injectionPoint(Consumer<InjectionPointInfo.Builder> consumer) Optionally, the injection point that the event pertains to.message()Optionally, any special message being logged.Optionally, any special message being logged.protected voidHandles providers and decorators.Optionally, the managing service provider the event pertains to.serviceProvider(ServiceProvider<?> serviceProvider) Optionally, the managing service provider the event pertains to.longthreadId()The thread id that the event occurred on.threadId(long threadId) The thread id that the event occurred on.time()The time this event was generated.The time this event was generated.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
-
event
The event.- Parameters:
event- the event- Returns:
- updated builder instance
- See Also:
-
clearMessage
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
message
Optionally, any special message being logged.- Parameters:
message- the message- Returns:
- updated builder instance
- See Also:
-
clearActivationResult
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
activationResult
Optionally, when this log entry pertains to a service provider activation.- Parameters:
activationResult- the activation result- Returns:
- updated builder instance
- See Also:
-
activationResult
Optionally, when this log entry pertains to a service provider activation.- Parameters:
consumer- the activation result- Returns:
- updated builder instance
- See Also:
-
clearServiceProvider
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
serviceProvider
Optionally, the managing service provider the event pertains to.- Parameters:
serviceProvider- the managing service provider- Returns:
- updated builder instance
- See Also:
-
clearInjectionPoint
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
injectionPoint
Optionally, the injection point that the event pertains to.- Parameters:
injectionPoint- the injection point- Returns:
- updated builder instance
- See Also:
-
injectionPoint
Optionally, the injection point that the event pertains to.- Parameters:
consumer- the injection point- Returns:
- updated builder instance
- See Also:
-
time
The time this event was generated.- Parameters:
time- the time of the event- Returns:
- updated builder instance
- See Also:
-
clearError
Clear existing value of this property.- Returns:
- updated builder instance
- See Also:
-
error
Any observed error during activation.- Parameters:
error- any observed error- Returns:
- updated builder instance
- See Also:
-
threadId
The thread id that the event occurred on.- Parameters:
threadId- the thread id- Returns:
- updated builder instance
- See Also:
-
event
The event.- Returns:
- the event
-
message
Optionally, any special message being logged.- Returns:
- the message
-
activationResult
Optionally, when this log entry pertains to a service provider activation.- Returns:
- the activation result
-
serviceProvider
Optionally, the managing service provider the event pertains to.- Returns:
- the service provider
-
injectionPoint
Optionally, the injection point that the event pertains to.- Returns:
- the injection point
-
time
The time this event was generated.- Returns:
- the time
-
error
Any observed error during activation.- Returns:
- the error
-
threadId
public long threadId()The thread id that the event occurred on.- Returns:
- the thread id
-
toString
-
preBuildPrototype
protected void preBuildPrototype()Handles providers and decorators. -
validatePrototype
protected void validatePrototype()Validates required properties.
-