Interface InfoObserverConfig
- All Superinterfaces:
ObserverConfigBase
,Prototype.Api
,Prototype.Factory<InfoObserver>
- All Known Implementing Classes:
InfoObserverConfig.BuilderBase.InfoObserverConfigImpl
Info Observer configuration.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic class
Fluent API builder forInfoObserver
.static class
InfoObserverConfig.BuilderBase<BUILDER extends InfoObserverConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends InfoObserverConfig> Fluent API builder base forInfoObserver
. -
Method Summary
Modifier and TypeMethodDescriptionstatic InfoObserverConfig.Builder
builder()
Create a new fluent API builder to customize configuration.static InfoObserverConfig.Builder
builder
(InfoObserverConfig instance) Create a new fluent API builder from an existing instance.static InfoObserverConfig
create()
Create a new instance with default values.static InfoObserverConfig
Deprecated.static InfoObserverConfig
Create a new instance from configuration.endpoint()
name()
Name of this observer.values()
Values to be exposed using this observability endpoint.Methods inherited from interface io.helidon.webserver.observe.ObserverConfigBase
enabled
Methods inherited from interface io.helidon.builder.api.Prototype.Factory
build
-
Method Details
-
builder
Create a new fluent API builder to customize configuration.- Returns:
- a new builder
-
builder
Create a new fluent API builder from an existing instance.- Parameters:
instance
- an existing instance used as a base for the builder- Returns:
- a builder based on an instance
-
create
Create a new instance from configuration.- Parameters:
config
- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Deprecated.Create a new instance from configuration.- Parameters:
config
- used to configure the new instance- Returns:
- a new instance configured from configuration
-
create
Create a new instance with default values.- Returns:
- a new instance
-
endpoint
String endpoint() -
values
Values to be exposed using this observability endpoint.- Returns:
- value map
-
name
String name()Description copied from interface:ObserverConfigBase
Name of this observer. Each observer should provide its own default for this property.- Specified by:
name
in interfaceObserverConfigBase
- Returns:
- observer name
-
create(io.helidon.config.Config)