Class HealthObserverConfig.BuilderBase.HealthObserverConfigImpl
java.lang.Object
io.helidon.webserver.observe.ObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
io.helidon.webserver.observe.health.HealthObserverConfig.BuilderBase.HealthObserverConfigImpl
- All Implemented Interfaces:
Prototype.Api
,Prototype.Factory<HealthObserver>
,HealthObserverConfig
,ObserverConfigBase
,Supplier<HealthObserver>
- Enclosing class:
HealthObserverConfig.BuilderBase<BUILDER extends HealthObserverConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends HealthObserverConfig>
protected static class HealthObserverConfig.BuilderBase.HealthObserverConfigImpl
extends ObserverConfigBase.BuilderBase.ObserverConfigBaseImpl
implements HealthObserverConfig, Supplier<HealthObserver>
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.health.HealthObserverConfig
HealthObserverConfig.Builder, HealthObserverConfig.BuilderBase<BUILDER extends HealthObserverConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends HealthObserverConfig> 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
HealthObserverConfigImpl
(HealthObserverConfig.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
-
HealthObserverConfigImpl
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<HealthObserver>
- Returns:
- new configured runtime instance
-
get
- Specified by:
get
in interfaceSupplier<HealthObserver>
-
endpoint
-
details
public boolean details() -
healthChecks
-
useSystemServices
public boolean useSystemServices() -
config
-
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
-