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
ConstructorsModifierConstructorDescriptionprotectedScopeConfigImpl(ScopeConfig.BuilderBase<?, ?> builder) Create an instance providing a builder. -
Method Summary
Modifier and TypeMethodDescriptionbooleanenabled()Whether the scope is enabled.booleanexclude()Regular expression for meter names to exclude.inthashCode()include()Regular expression for meter names to include.booleanisMeterEnabled(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:ScopeConfigIndicates whether the specified meter is enabled according to the scope configuration.- Specified by:
isMeterEnabledin interfaceScopeConfig- Parameters:
name- meter name to check- Returns:
- whether the meter is enabled
-
name
Description copied from interface:ScopeConfigName of the scope to which the configuration applies.- Specified by:
namein interfaceScopeConfig- Returns:
- scope name
-
enabled
public boolean enabled()Description copied from interface:ScopeConfigWhether the scope is enabled.- Specified by:
enabledin interfaceScopeConfig- Returns:
- if the scope is enabled
-
include
Description copied from interface:ScopeConfigRegular expression for meter names to include.- Specified by:
includein interfaceScopeConfig- Returns:
- include expression
-
exclude
Description copied from interface:ScopeConfigRegular expression for meter names to exclude.- Specified by:
excludein interfaceScopeConfig- Returns:
- exclude expression
-
toString
-
equals
-
hashCode
public int hashCode()
-