Enum Class SmiStatus

java.lang.Object
java.lang.Enum<SmiStatus>
com.snmp4j.smi.SmiStatus
All Implemented Interfaces:
Serializable, Comparable<SmiStatus>, java.lang.constant.Constable

public enum SmiStatus extends Enum<SmiStatus>
The SmiStatus enumerates the values of the SMIv1 and v2 STATUS clause.
Author:
Frank Fock
  • Enum Constant Details

    • current

      public static final SmiStatus current
      Object status is current.
    • obsolete

      public static final SmiStatus obsolete
      Objct status is obsolete.
    • deprecated

      public static final SmiStatus deprecated
      Object status is deprecated.
  • Method Details

    • values

      public static SmiStatus[] 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 SmiStatus 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