public enum SpanKind extends Enum<SpanKind>
| Enum Constant and Description |
|---|
CONSUMER |
PRODUCER |
SPAN_KIND_CLIENT |
SPAN_KIND_SERVER |
| Modifier and Type | Method and Description |
|---|---|
static SpanKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SpanKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SpanKind SPAN_KIND_CLIENT
public static final SpanKind SPAN_KIND_SERVER
public static final SpanKind CONSUMER
public static final SpanKind PRODUCER
public static SpanKind[] values()
for (SpanKind c : SpanKind.values()) System.out.println(c);
public static SpanKind 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 nullApache Camel