| Modifier and Type | Field and Description |
|---|---|
protected String |
key
The key of this Tag.
|
| Constructor and Description |
|---|
AbstractTag(int id,
String tagKey,
boolean canOverwrite) |
AbstractTag(String key) |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
boolean |
isCanOverwrite() |
String |
key() |
boolean |
sameWith(AbstractTag<T> tag) |
protected abstract void |
set(AbstractSpan span,
T tagValue) |
protected final String key
public AbstractTag(int id,
String tagKey,
boolean canOverwrite)
public AbstractTag(String key)
protected abstract void set(AbstractSpan span, T tagValue)
public String key()
public boolean sameWith(AbstractTag<T> tag)
public int getId()
public boolean isCanOverwrite()
Copyright © 2019 The Apache Software Foundation. All rights reserved.