java.lang.Object
java.lang.Enum<RateUnit>
org.sentrysoftware.ipmi.core.coding.commands.sdr.record.RateUnit
All Implemented Interfaces:
Serializable, Comparable<RateUnit>

public enum RateUnit extends Enum<RateUnit>
  • Enum Constant Details

    • Microseconds

      public static final RateUnit Microseconds
    • Miliseconds

      public static final RateUnit Miliseconds
    • Seconds

      public static final RateUnit Seconds
    • Minutes

      public static final RateUnit Minutes
    • Hours

      public static final RateUnit Hours
    • Days

      public static final RateUnit Days
    • None

      public static final RateUnit None
  • Method Details

    • values

      public static RateUnit[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static RateUnit valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()
    • getUnit

      public String getUnit()
    • parseInt

      public static RateUnit parseInt(int value)