Class InfoObserverConfig.Builder
java.lang.Object
io.helidon.webserver.observe.ObserverConfigBase.BuilderBase<InfoObserverConfig.Builder, InfoObserverConfig>
io.helidon.webserver.observe.info.InfoObserverConfig.BuilderBase<InfoObserverConfig.Builder, InfoObserverConfig>
io.helidon.webserver.observe.info.InfoObserverConfig.Builder
- All Implemented Interfaces:
Prototype.Builder<InfoObserverConfig.Builder, InfoObserverConfig>, Builder<InfoObserverConfig.Builder, InfoObserver>, ConfigBuilderSupport.ConfiguredBuilder<InfoObserverConfig.Builder, InfoObserverConfig>, Supplier<InfoObserver>
- Enclosing interface:
InfoObserverConfig
public static class InfoObserverConfig.Builder
extends InfoObserverConfig.BuilderBase<InfoObserverConfig.Builder, InfoObserverConfig>
implements Builder<InfoObserverConfig.Builder, InfoObserver>
Fluent API builder for
InfoObserver.-
Nested Class Summary
Nested classes/interfaces inherited from class InfoObserverConfig.BuilderBase
InfoObserverConfig.BuilderBase.InfoObserverConfigImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations.Nested classes/interfaces inherited from class ObserverConfigBase.BuilderBase
ObserverConfigBase.BuilderBase.ObserverConfigBaseImplModifier and TypeClassDescriptionprotected static classGenerated implementation of the prototype, can be extended by descendant prototype implementations. -
Method Summary
Modifier and TypeMethodDescriptionbuild()Create an instance from this builder.Create an instance of the prototype.Methods inherited from class InfoObserverConfig.BuilderBase
addValues, config, endpoint, endpoint, from, from, preBuildPrototype, putValue, toString, validatePrototype, values, valuesModifier and TypeMethodDescriptionValues to be exposed using this observability endpoint.Update builder from configuration (node of this type).endpoint()Endpoint option.Endpoint option.from(InfoObserverConfig prototype) Update this builder from an existing prototype instance.from(InfoObserverConfig.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.protected voidHandles providers and decorators.Values to be exposed using this observability endpoint.toString()protected voidValidates required properties.values()Values to be exposed using this observability endpoint.Values to be exposed using this observability endpoint.Methods inherited from class ObserverConfigBase.BuilderBase
config, enabled, enabled, from, from, name, nameModifier and TypeMethodDescriptionconfig()The config instance used to configure this observer.booleanenabled()Whether this observer is enabled.enabled(boolean enabled) Whether this observer is enabled.from(ObserverConfigBase prototype) Update this builder from an existing prototype instance.from(ObserverConfigBase.BuilderBase<?, ?> builder) Update this builder from an existing prototype builder instance.name()Name of this observer.Name of this observer.Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Builder
get, identity, updateModifier and TypeMethodDescriptiondefault InfoObserverget()default InfoObserverConfig.Builderidentity()Instance of this builder as the correct type.default InfoObserverConfig.Builderupdate(Consumer<InfoObserverConfig.Builder> consumer) Update the builder in a fluent API way.Methods inherited from interface Prototype.Builder
selfModifier and TypeMethodDescriptiondefault InfoObserverConfig.Builderself()Instance of this builder as the correct type.
-
Method Details
-
buildPrototype
Create an instance of the prototype. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildPrototypein interfacePrototype.Builder<InfoObserverConfig.Builder, InfoObserverConfig>- Returns:
- an instance of the setup object created from this builder
-
build
Create an instance from this builder. Calling this method may update this builder from providers and decorators, so repeated calls may have side effects.- Specified by:
buildin interfaceBuilder<InfoObserverConfig.Builder, InfoObserver>- Returns:
- instance of the built type
-