Module io.helidon.metrics.api
Package io.helidon.metrics.api
Class ScopeConfig.BuilderBase.ScopeConfigImpl
java.lang.Object
io.helidon.metrics.api.ScopeConfig.BuilderBase.ScopeConfigImpl
- All Implemented Interfaces:
Prototype.Api
,ScopeConfig
- Enclosing class:
ScopeConfig.BuilderBase<BUILDER extends ScopeConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends ScopeConfig>
protected static class ScopeConfig.BuilderBase.ScopeConfigImpl
extends Object
implements ScopeConfig
Generated implementation of the prototype, can be extended by descendant prototype implementations.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.helidon.metrics.api.ScopeConfig
ScopeConfig.Builder, ScopeConfig.BuilderBase<BUILDER extends ScopeConfig.BuilderBase<BUILDER,
PROTOTYPE>, PROTOTYPE extends ScopeConfig> -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
ScopeConfigImpl
(ScopeConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionboolean
enabled()
Whether the scope is enabled.boolean
exclude()
Regular expression for meter names to exclude.int
hashCode()
include()
Regular expression for meter names to include.boolean
isMeterEnabled
(String name) Indicates whether the specified meter is enabled according to the scope configuration.name()
Name of the scope to which the configuration applies.toString()
-
Constructor Details
-
ScopeConfigImpl
Create an instance providing a builder.- Parameters:
builder
- extending builder base of this prototype
-
-
Method Details
-
isMeterEnabled
Description copied from interface:ScopeConfig
Indicates whether the specified meter is enabled according to the scope configuration.- Specified by:
isMeterEnabled
in interfaceScopeConfig
- Parameters:
name
- meter name to check- Returns:
- whether the meter is enabled
-
name
Description copied from interface:ScopeConfig
Name of the scope to which the configuration applies.- Specified by:
name
in interfaceScopeConfig
- Returns:
- scope name
-
enabled
public boolean enabled()Description copied from interface:ScopeConfig
Whether the scope is enabled.- Specified by:
enabled
in interfaceScopeConfig
- Returns:
- if the scope is enabled
-
include
Description copied from interface:ScopeConfig
Regular expression for meter names to include.- Specified by:
include
in interfaceScopeConfig
- Returns:
- include expression
-
exclude
Description copied from interface:ScopeConfig
Regular expression for meter names to exclude.- Specified by:
exclude
in interfaceScopeConfig
- Returns:
- exclude expression
-
toString
-
equals
-
hashCode
public int hashCode()
-