public enum TraceRequestAttributes extends java.lang.Enum<TraceRequestAttributes> implements java.lang.CharSequence
Enum Constant and Description |
---|
CURRENT_SCOPE
The attribute used to store the current scope.
|
CURRENT_SPAN
The attribute used to store the current span.
|
CURRENT_SPAN_CONTEXT
The attribute used to store the current span context.
|
Modifier and Type | Method and Description |
---|---|
char |
charAt(int index) |
int |
length() |
java.lang.CharSequence |
subSequence(int start,
int end) |
java.lang.String |
toString() |
static TraceRequestAttributes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TraceRequestAttributes[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraceRequestAttributes CURRENT_SPAN
public static final TraceRequestAttributes CURRENT_SCOPE
public static final TraceRequestAttributes CURRENT_SPAN_CONTEXT
public static TraceRequestAttributes[] values()
for (TraceRequestAttributes c : TraceRequestAttributes.values()) System.out.println(c);
public static TraceRequestAttributes valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic int length()
length
in interface java.lang.CharSequence
public char charAt(int index)
charAt
in interface java.lang.CharSequence
public java.lang.CharSequence subSequence(int start, int end)
subSequence
in interface java.lang.CharSequence
public java.lang.String toString()
toString
in interface java.lang.CharSequence
toString
in class java.lang.Enum<TraceRequestAttributes>