Enum Class MetricRecordEntity.MetricSource

java.lang.Object
java.lang.Enum<MetricRecordEntity.MetricSource>
com.nmontytskyi.monitoring.server.entity.MetricRecordEntity.MetricSource
All Implemented Interfaces:
Serializable, Comparable<MetricRecordEntity.MetricSource>, Constable
Enclosing class:
MetricRecordEntity

public static enum MetricRecordEntity.MetricSource extends Enum<MetricRecordEntity.MetricSource>
Origin of a MetricRecordEntity: whether the server pulled it from the Actuator endpoint or the starter pushed it after an HTTP request.
  • Enum Constant Details

  • Method Details

    • values

      public static MetricRecordEntity.MetricSource[] values()
      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 MetricRecordEntity.MetricSource valueOf(String name)
      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