Enum API.Status

    • Enum Constant Detail

      • INTERNAL

        public static final API.Status INTERNAL
        Must not be used by any external code. Might be removed without prior notice.
      • DEPRECATED

        public static final API.Status DEPRECATED
        Should no longer be used. Might disappear in the next minor release.
      • EXPERIMENTAL

        public static final API.Status EXPERIMENTAL
        Intended for new, experimental features where the publisher of the API is looking for feedback.

        Use with caution. Might be promoted to MAINTAINED or STABLE in the future, but might also be removed without prior notice.

      • MAINTAINED

        public static final API.Status MAINTAINED
        Intended for features that will not be changed in a backwards-incompatible way for at least the next minor release of the current major version. If scheduled for removal, such a feature will be demoted to DEPRECATED first.
      • STABLE

        public static final API.Status STABLE
        Intended for features that will not be changed in a backwards-incompatible way in the current major version.
    • Method Detail

      • values

        public static API.Status[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (API.Status c : API.Status.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static API.Status 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