public interface NamingConvention
Modifier and Type | Field and Description |
---|---|
static NamingConvention |
camelCase |
static NamingConvention |
identity |
static NamingConvention |
snakeCase |
Modifier and Type | Method and Description |
---|---|
default java.lang.String |
name(java.lang.String name,
Meter.Type type) |
java.lang.String |
name(java.lang.String name,
Meter.Type type,
java.lang.String baseUnit) |
default java.lang.String |
tagKey(java.lang.String key) |
default java.lang.String |
tagValue(java.lang.String value) |
static final NamingConvention identity
static final NamingConvention snakeCase
static final NamingConvention camelCase
default java.lang.String name(java.lang.String name, Meter.Type type)
java.lang.String name(java.lang.String name, Meter.Type type, java.lang.String baseUnit)
default java.lang.String tagKey(java.lang.String key)
default java.lang.String tagValue(java.lang.String value)