Enum Class Ecosystem

java.lang.Object
java.lang.Enum<Ecosystem>
foundation.omni.Ecosystem
All Implemented Interfaces:
Serializable, Comparable<Ecosystem>, java.lang.constant.Constable

public enum Ecosystem extends Enum<Ecosystem>
Omni Protocol Ecosystem
  • Enum Constant Details

    • OMNI

      public static final Ecosystem OMNI
      The "real" or "production" Omni ecosystem
    • TOMNI

      public static final Ecosystem TOMNI
      The test Omni ecosystem
  • Method Details

    • values

      public static Ecosystem[] 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 Ecosystem 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
    • value

      public short value()
      Returns:
      numeric value of Ecosystem
    • valueOf

      public static Ecosystem valueOf(short s)
      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:
      s - 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
    • getValue

      @Deprecated public short getValue()
      Deprecated.
      Returns:
      the value