Enum Class ConfigRegistrationError

java.lang.Object
java.lang.Enum<ConfigRegistrationError>
dev.turboism.sdk.config.ConfigRegistrationError
All Implemented Interfaces:
Serializable, Comparable<ConfigRegistrationError>, Constable

public enum ConfigRegistrationError extends Enum<ConfigRegistrationError>
Typed cause for asynchronous schema registration failure.
  • Enum Constant Details

    • PERMISSION_DENIED

      public static final ConfigRegistrationError PERMISSION_DENIED
      The plugin lacks configuration-write permission required to install the schema.
    • RUNTIME_UNAVAILABLE

      public static final ConfigRegistrationError RUNTIME_UNAVAILABLE
      The plugin context or typed configuration runtime is unavailable.
    • REGISTRATION_FAILED

      public static final ConfigRegistrationError REGISTRATION_FAILED
      The runtime could not retain the otherwise valid schema registration.
  • Method Details

    • values

      public static ConfigRegistrationError[] 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 ConfigRegistrationError 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