Enum Class Metric.Status

java.lang.Object
java.lang.Enum<Metric.Status>
io.vertigo.core.analytics.metric.Metric.Status
All Implemented Interfaces:
Serializable, Comparable<Metric.Status>, Constable
Enclosing class:
Metric

public static enum Metric.Status extends Enum<Metric.Status>
The status of a metric can be either SUCCESS or ERROR.
  • Enum Constant Details

    • SUCCESS

      public static final Metric.Status SUCCESS
      The status is a success. example : a mail successfully sent
    • ERROR

      public static final Metric.Status ERROR
      The status is an error. example : a mail failed to be sent
  • Method Details

    • values

      public static Metric.Status[] 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 Metric.Status 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