Interface ConfigObserverConfig
- All Superinterfaces:
ObserverConfigBase,Prototype.Api,Prototype.Factory<ConfigObserver>
- All Known Implementing Classes:
ConfigObserverConfig.BuilderBase.ConfigObserverConfigImpl
Interface generated from definition. Please add javadoc to the definition interface.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classFluent API builder forConfigObserver.static classConfigObserverConfig.BuilderBase<BUILDER extends ConfigObserverConfig.BuilderBase<BUILDER,PROTOTYPE>, PROTOTYPE extends ConfigObserverConfig> Fluent API builder base forConfigObserver. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConfigObserverConfig.Builderbuilder()Create a new fluent API builder to customize configuration.static ConfigObserverConfig.Builderbuilder(ConfigObserverConfig instance) Create a new fluent API builder from an existing instance.static ConfigObserverConfigcreate()Create a new instance with default values.static ConfigObserverConfigCreate a new instance from configuration.booleanenabled()Whether this observer is enabled.endpoint()name()booleanPermit all access, even when not authorized.secrets()Secret patterns (regular expressions) to exclude from output.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
Create a new instance with default values.- Returns:
- a new instance
-
endpoint
String endpoint() -
name
String name() -
permitAll
boolean permitAll()Permit all access, even when not authorized.- Returns:
- whether to permit access for anybody
-
secrets
Secret patterns (regular expressions) to exclude from output. Any pattern that matches a key will cause the output to be obfuscated and not contain the value.Patterns always added:
.*password.*passphrase.*secret
- Returns:
- set of regular expression patterns for keys, where values should be excluded from output
-
enabled
boolean enabled()Whether this observer is enabled.- Returns:
falseto disable observer
-