public static enum Link.Type extends Enum<Link.Type>
Span
relative to the current Span
.Enum Constant and Description |
---|
CHILD_LINKED_SPAN
When the linked
Span is a child of the current Span . |
PARENT_LINKED_SPAN
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_LINKED_SPAN
Span
is a child of the current Span
.public static final Link.Type PARENT_LINKED_SPAN
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