Enum Class StatusCode

java.lang.Object
java.lang.Enum<StatusCode>
net.spreadsheetspace.sdk.StatusCode
All Implemented Interfaces:
Serializable, Comparable<StatusCode>, Constable

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

    • OK

      public static final StatusCode OK
    • FOUND

      public static final StatusCode FOUND
    • NOT_OK

      public static final StatusCode NOT_OK
    • AUTHORIZATION_ERROR

      public static final StatusCode AUTHORIZATION_ERROR
    • WRONG_NEXT_NUMBER

      public static final StatusCode WRONG_NEXT_NUMBER
    • NOT_FOUND

      public static final StatusCode NOT_FOUND
    • SC_CONFLICT

      public static final StatusCode SC_CONFLICT
    • FAILED_DECRYPT_DATA

      public static final StatusCode FAILED_DECRYPT_DATA
    • ERROR_RETRIEVE_DATA

      public static final StatusCode ERROR_RETRIEVE_DATA
    • PARTIAL_FAILURE

      public static final StatusCode PARTIAL_FAILURE
    • GENERIC_ERROR

      public static final StatusCode GENERIC_ERROR
    • PUSH_DATA_ERROR

      public static final StatusCode PUSH_DATA_ERROR
    • SEND_EVENT_ERROR

      public static final StatusCode SEND_EVENT_ERROR
  • Method Details

    • values

      public static StatusCode[] 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 StatusCode 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 int getValue()
    • getMap

      public static Map<StatusCode, String> getMap()
    • init

      public static void init()
    • lookup

      public static StatusCode lookup(int val)