Enum Class ModelName

java.lang.Object
java.lang.Enum<ModelName>
ai.reveng.model.ModelName
All Implemented Interfaces:
Serializable, Comparable<ModelName>, Constable

public enum ModelName extends Enum<ModelName>
Custom enum for the model name
  • Enum Constant Details

    • BINNET_0_7_X86_64_WINDOWS

      public static final ModelName BINNET_0_7_X86_64_WINDOWS
    • BINNET_0_7_X86_64_LINUX

      public static final ModelName BINNET_0_7_X86_64_LINUX
    • BINNET_0_7_X86_32_WINDOWS

      public static final ModelName BINNET_0_7_X86_32_WINDOWS
    • BINNET_0_7_X86_32_LINUX

      public static final ModelName BINNET_0_7_X86_32_LINUX
    • BINNET_0_7_ARM_64_WINDOWS

      public static final ModelName BINNET_0_7_ARM_64_WINDOWS
    • BINNET_0_7_ARM_64_LINUX

      public static final ModelName BINNET_0_7_ARM_64_LINUX
    • BINNET_0_7_X86_64_ANDROID

      public static final ModelName BINNET_0_7_X86_64_ANDROID
    • BINNET_0_7_X86_32_ANDROID

      public static final ModelName BINNET_0_7_X86_32_ANDROID
    • BINNET_0_7_ARM_64_ANDROID

      public static final ModelName BINNET_0_7_ARM_64_ANDROID
    • UNKNOWN_DEFAULT_OPEN_API

      public static final ModelName UNKNOWN_DEFAULT_OPEN_API
  • Method Details

    • values

      public static ModelName[] 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 ModelName 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
    • getValue

      public String getValue()
    • toString

      public String toString()
      Overrides:
      toString in class Enum<ModelName>
    • fromValue

      public static ModelName fromValue(String value)
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      Throws:
      IOException