@Immutable public final class StringAttributeSetter extends Object
| Modifier and Type | Method and Description |
|---|---|
static StringAttributeSetter |
create(String attributeKey)
Returns a new attribute setter.
|
String |
key()
Returns the attribute name.
|
void |
set(Span span,
String value)
Sets the attribute on the provided span.
|
public static StringAttributeSetter create(String attributeKey)
attributeKey - the attribute namepublic String key()