Enum Class TextOutputFormat

java.lang.Object
java.lang.Enum<TextOutputFormat>
org.springframework.boot.actuate.metrics.export.prometheus.TextOutputFormat
All Implemented Interfaces:
Serializable, Comparable<TextOutputFormat>, Constable, Producible<TextOutputFormat>

@Deprecated(since="3.3.0", forRemoval=true) public enum TextOutputFormat extends Enum<TextOutputFormat> implements Producible<TextOutputFormat>
Deprecated, for removal: This API element is subject to removal in a future version.
since 3.3.0 for removal in 3.5.0 in favor of PrometheusOutputFormat
A Producible enum for supported Prometheus TextFormat.
Since:
2.5.0
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
    Prometheus text version 0.0.4.
    Deprecated, for removal: This API element is subject to removal in a future version.
    OpenMetrics text version 1.0.0.
  • Method Summary

    Modifier and Type
    Method
    Description
    org.springframework.util.MimeType
    Deprecated, for removal: This API element is subject to removal in a future version.
    Mime type that can be produced.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns the enum constant of this class with the specified name.
    Deprecated, for removal: This API element is subject to removal in a future version.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface org.springframework.boot.actuate.endpoint.Producible

    isDefault
  • Enum Constant Details

    • CONTENT_TYPE_004

      public static final TextOutputFormat CONTENT_TYPE_004
      Deprecated, for removal: This API element is subject to removal in a future version.
      Prometheus text version 0.0.4.
    • CONTENT_TYPE_OPENMETRICS_100

      public static final TextOutputFormat CONTENT_TYPE_OPENMETRICS_100
      Deprecated, for removal: This API element is subject to removal in a future version.
      OpenMetrics text version 1.0.0.
  • Method Details

    • values

      public static TextOutputFormat[] values()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static TextOutputFormat valueOf(String name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • getProducedMimeType

      public org.springframework.util.MimeType getProducedMimeType()
      Deprecated, for removal: This API element is subject to removal in a future version.
      Description copied from interface: Producible
      Mime type that can be produced.
      Specified by:
      getProducedMimeType in interface Producible<TextOutputFormat>
      Returns:
      the producible mime type