public enum TraceRequestAttributes extends Enum<TraceRequestAttributes> implements 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() |
CharSequence |
subSequence(int start,
int end) |
String |
toString() |
static TraceRequestAttributes |
valueOf(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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOfchars, codePointspublic 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(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 nullpublic int length()
length in interface CharSequencepublic char charAt(int index)
charAt in interface CharSequencepublic CharSequence subSequence(int start, int end)
subSequence in interface CharSequencepublic String toString()
toString in interface CharSequencetoString in class Enum<TraceRequestAttributes>