Module io.helidon.metrics.api
Package io.helidon.metrics.api
Interface RegistryFilterSettings.Builder
-
- All Superinterfaces:
Builder<RegistryFilterSettings>
,Supplier<RegistryFilterSettings>
- Enclosing interface:
- RegistryFilterSettings
public static interface RegistryFilterSettings.Builder extends Builder<RegistryFilterSettings>
Builder for a newRegistryFilterSettings
instance.
-
-
Field Summary
Fields Modifier and Type Field Description static String
EXCLUDE_CONFIG_KEY
Config key within thefilter
section for the regex for names to exclude.static String
INCLUDE_CONFIG_KEY
Config key within thefilter
section for the regex for names to include.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description RegistryFilterSettings.Builder
config(Config config)
Sets whichever values are specified by the providedfilter
config node.static RegistryFilterSettings.Builder
create(Config config)
Returns a new builder initialized according to the specific configuration.RegistryFilterSettings.Builder
exclude(String excludeFilter)
Sets the regex for names to exclude.RegistryFilterSettings.Builder
include(String includeFilter)
Sets the refex for names to include.
-
-
-
Field Detail
-
EXCLUDE_CONFIG_KEY
static final String EXCLUDE_CONFIG_KEY
Config key within thefilter
section for the regex for names to exclude.- See Also:
- Constant Field Values
-
INCLUDE_CONFIG_KEY
static final String INCLUDE_CONFIG_KEY
Config key within thefilter
section for the regex for names to include.- See Also:
- Constant Field Values
-
-
Method Detail
-
create
static RegistryFilterSettings.Builder create(Config config)
Returns a new builder initialized according to the specific configuration.- Parameters:
config
- the registry settings config node- Returns:
- newly-initialized builder
-
exclude
RegistryFilterSettings.Builder exclude(String excludeFilter)
Sets the regex for names to exclude.- Parameters:
excludeFilter
- filter for names to exclude- Returns:
- updated builder
-
include
RegistryFilterSettings.Builder include(String includeFilter)
Sets the refex for names to include.- Parameters:
includeFilter
- filter for names to include- Returns:
- updated builder
-
config
RegistryFilterSettings.Builder config(Config config)
Sets whichever values are specified by the providedfilter
config node.- Parameters:
config
- the filter config node- Returns:
- updated builder
-
-