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.
  • Constructor Details

    • ScopeConfigImpl

      protected ScopeConfigImpl(ScopeConfig.BuilderBase<?,?> builder)
      Create an instance providing a builder.
      Parameters:
      builder - extending builder base of this prototype
  • Method Details

    • isMeterEnabled

      public boolean isMeterEnabled(String name)
      Description copied from interface: ScopeConfig
      Indicates whether the specified meter is enabled according to the scope configuration.
      Specified by:
      isMeterEnabled in interface ScopeConfig
      Parameters:
      name - meter name to check
      Returns:
      whether the meter is enabled
    • name

      public String name()
    • enabled

      public boolean enabled()
    • include

      public Optional<Pattern> include()
    • exclude

      public Optional<Pattern> exclude()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object