Package io.helidon.webserver.observe.log
Class LogObserverConfig.BuilderBase.LogObserverConfigImpl
java.lang.Object
io.helidon.webserver.observe.ObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
io.helidon.webserver.observe.log.LogObserverConfig.BuilderBase.LogObserverConfigImpl
- All Implemented Interfaces:
Prototype.Api
,Prototype.Factory<LogObserver>
,LogObserverConfig
,ObserverConfigBase
,Supplier<LogObserver>
- Enclosing class:
LogObserverConfig.BuilderBase<BUILDER extends LogObserverConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends LogObserverConfig>
protected static class LogObserverConfig.BuilderBase.LogObserverConfigImpl
extends ObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
implements LogObserverConfig, Supplier<LogObserver>
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.webserver.observe.log.LogObserverConfig
LogObserverConfig.Builder, LogObserverConfig.BuilderBase<BUILDER extends LogObserverConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends LogObserverConfig> Nested classes/interfaces inherited from interface io.helidon.webserver.observe.ObserverConfigBase
ObserverConfigBase.Builder, ObserverConfigBase.BuilderBase<BUILDER extends ObserverConfigBase.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends ObserverConfigBase> -
Constructor Summary
ModifierConstructorDescriptionprotected
LogObserverConfigImpl
(LogObserverConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Methods inherited from class io.helidon.webserver.observe.ObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
enabled, name
-
Constructor Details
-
LogObserverConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
build
Description copied from interface:Prototype.Factory
Create a new instance of the runtime type from this config object.- Specified by:
build
in interfacePrototype.Factory<LogObserver>
- Returns:
- new configured runtime instance
-
get
- Specified by:
get
in interfaceSupplier<LogObserver>
-
endpoint
-
permitAll
public boolean permitAll() -
stream
-
toString
- Overrides:
toString
in classObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
-
equals
- Overrides:
equals
in classObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
-
hashCode
public int hashCode()- Overrides:
hashCode
in classObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
-
name
String name() -
enabled
boolean enabled()Whether this observer is enabled.- Returns:
false
to disable observer
-