Enum Support

All Implemented Interfaces:
Serializable, Comparable<Support>, java.lang.constant.Constable

public enum Support extends Enum<Support>
How well the unified API does one Capability on one server.

UNKNOWN is the answer whenever there is no evidence either way. It is never a polite UNSUPPORTED: a plugin may still try, and should check the result.

  • Enum Constant Details

    • SUPPORTED

      public static final Support SUPPORTED
      Verified to work.
    • PARTIAL

      public static final Support PARTIAL
      Works in some cases; read Capabilities.note(Capability) for which.
    • UNSUPPORTED

      public static final Support UNSUPPORTED
      Known not to work on this server today.
    • UNKNOWN

      public static final Support UNKNOWN
      No evidence either way.
  • Method Details

    • values

      public static Support[] 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 Support 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
    • isUsable

      public boolean isUsable()
      True for SUPPORTED and PARTIAL: worth calling.