public enum TextOutputFormat extends java.lang.Enum<TextOutputFormat> implements Producible<TextOutputFormat>
Producible enum for supported Prometheus TextFormat.| Enum Constant and Description |
|---|
CONTENT_TYPE_004
Prometheus text version 0.0.4.
|
CONTENT_TYPE_OPENMETRICS_100
OpenMetrics text version 1.0.0.
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.util.MimeType |
getProducedMimeType()
Mime type that can be produced.
|
static TextOutputFormat |
valueOf(java.lang.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_OPENMETRICS_100
public static final TextOutputFormat CONTENT_TYPE_004
public static TextOutputFormat[] values()
for (TextOutputFormat c : TextOutputFormat.values()) System.out.println(c);
public static TextOutputFormat 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 org.springframework.util.MimeType getProducedMimeType()
ProduciblegetProducedMimeType in interface Producible<TextOutputFormat>