Package io.opencensus.trace
Enum Link.Type
- All Implemented Interfaces:
Serializable
,Comparable<Link.Type>
- Enclosing class:
Link
The relationship with the linked
Span
relative to the current Span
.- Since:
- 0.5
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen the linkedSpan
is a child of the currentSpan
.When the linkedSpan
is a parent of the currentSpan
. -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
CHILD_LINKED_SPAN
When the linkedSpan
is a child of the currentSpan
.- Since:
- 0.5
-
PARENT_LINKED_SPAN
When the linkedSpan
is a parent of the currentSpan
.- Since:
- 0.5
-
-
Constructor Details
-
Type
private Type()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-