public enum TextOutputFormat extends Enum<TextOutputFormat> implements org.springframework.boot.actuate.endpoint.Producible<TextOutputFormat>
Producible enum for supported span outputs.| Enum Constant and Description |
|---|
CONTENT_TYPE_OPENZIPKIN_JSON_V2
OpenZipkin text.
|
CONTENT_TYPE_OTLP_PROTOBUF
OTLP protobuf format.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.util.MimeType |
getProducedMimeType() |
static TextOutputFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TextOutputFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextOutputFormat CONTENT_TYPE_OTLP_PROTOBUF
public static final TextOutputFormat CONTENT_TYPE_OPENZIPKIN_JSON_V2
public static TextOutputFormat[] values()
for (TextOutputFormat c : TextOutputFormat.values()) System.out.println(c);
public static TextOutputFormat 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 org.springframework.util.MimeType getProducedMimeType()
getProducedMimeType in interface org.springframework.boot.actuate.endpoint.Producible<TextOutputFormat>Copyright © 2022 Pivotal Software, Inc.. All rights reserved.