| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public default boolean | Returns: whether this key is requiredWhether this key is required to be present in the instrumentation. |
| public static KeyName[] | |
| public default KeyValue | |
| public default KeyValue |
| asString | back to summary |
|---|---|
| public String asString() Returns key name.
| |
| isRequired | back to summary |
|---|---|
| public default boolean isRequired() Whether this key is required to be present in the instrumentation. This can be checked in a test of the instrumentation.
| |
| merge | back to summary |
|---|---|
| public static KeyName[] merge(KeyName[]... keyNames) Merges arrays of tag keys. | |
| withValue | back to summary |
|---|---|
| public default KeyValue withValue(String value) Creates a key value for the given key name. | |
| withValue | back to summary |
|---|---|
| public default KeyValue withValue(String value, Predicate<Object> validator) Creates a key value for the given key name. | |