public static enum Link.Type extends Enum<Link.Type>
Span relative to the current Span.| Enum Constant and Description |
|---|
CHILD
When the linked
Span is a child of the current Span. |
PARENT
When the linked
Span is a parent of the current Span. |
| Modifier and Type | Method and Description |
|---|---|
static Link.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Link.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Link.Type CHILD
Span is a child of the current Span.public static final Link.Type PARENT
Span is a parent of the current Span.public static Link.Type[] values()
for (Link.Type c : Link.Type.values()) System.out.println(c);
public static Link.Type valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null