Enum Class AdapterCapabilityLevel

java.lang.Object
java.lang.Enum<AdapterCapabilityLevel>
org.j7m.middleware.adapter.spi.AdapterCapabilityLevel
All Implemented Interfaces:
Serializable, Comparable<AdapterCapabilityLevel>, Constable

public enum AdapterCapabilityLevel extends Enum<AdapterCapabilityLevel>
Declared support level for an adapter capability.

The enum is immutable and thread-safe. TCK code treats stronger declarations as obligations: a capability declared as REQUIRED or CLAIMED must pass the matching scenario or the adapter report is rejected.

  • Enum Constant Details

    • REQUIRED

      public static final AdapterCapabilityLevel REQUIRED
      Capability is required for the profile and the adapter claims to satisfy it.
    • OPTIONAL

      public static final AdapterCapabilityLevel OPTIONAL
      Capability is available but optional for the selected profile.
    • UNSUPPORTED

      public static final AdapterCapabilityLevel UNSUPPORTED
      Capability is explicitly not supported.
    • CLAIMED

      public static final AdapterCapabilityLevel CLAIMED
      Capability is claimed by the adapter and must be proven by the TCK.
  • Method Details

    • values

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