Class DomainMappings
java.lang.Object
ch.raffael.meldioc.library.base.jmx.registry.util.DomainMappings
Configurable mapper to determine domain names from classes. Usually, the
class of the managed object should be used.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionaddMapping(String baseName, String domain) static DomainMappings.Builderbuilder()abstract Stringmappings()static DomainMappingswithDefaultDomain(String value) Copy the current immutable object by setting a value for thedefaultDomainattribute.withMappings(io.vavr.collection.Map<String, String> value) Copy the current immutable object by setting a value for themappingsattribute.
-
Method Details
-
builder
-
of
-
defaultDomain
-
mappings
-
addMapping
-
domainFor
-
domainFor
-
withDefaultDomain
Copy the current immutable object by setting a value for thedefaultDomainattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for defaultDomain- Returns:
- A modified copy of the
thisobject
-
withMappings
Copy the current immutable object by setting a value for themappingsattribute. A shallow reference equality check is used to prevent copying of the same value by returningthis.- Parameters:
value- A new value for mappings- Returns:
- A modified copy of the
thisobject
-