Enum LayerEnum

java.lang.Object
java.lang.Enum<LayerEnum>
de.pco.common.exceptions.LayerEnum
All Implemented Interfaces:
Serializable, Comparable<LayerEnum>, java.lang.constant.Constable

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

    • FIRMWARE

      public static final LayerEnum FIRMWARE
    • DRIVER

      public static final LayerEnum DRIVER
    • SDKDLL

      public static final LayerEnum SDKDLL
    • APPLICATION

      public static final LayerEnum APPLICATION
    • UNDEFINED

      public static final LayerEnum UNDEFINED
  • Method Details

    • values

      public static LayerEnum[] 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 LayerEnum 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
    • valueOf

      public static LayerEnum valueOf​(int value)
      Converter from the int value to the value of the enumerator.
      Parameters:
      value -
      Returns:
      Throws:
      IllegalArgumentException
    • getValue

      public int getValue()
      Getter
      Returns:
    • getText

      public static String getText​(LayerEnum error)
    • getText

      public String getText()