Enum Class JdkDistribution

java.lang.Object
java.lang.Enum<JdkDistribution>
io.micronaut.starter.options.JdkDistribution
All Implemented Interfaces:
Serializable, Comparable<JdkDistribution>, Constable

public enum JdkDistribution extends Enum<JdkDistribution>
Since:
3.6.0
Author:
Dean Wette
See Also:
  • Enum Constant Details

  • Field Details

    • DEFAULT_DISTRIBUTION

      public static final JdkDistribution DEFAULT_DISTRIBUTION
  • Method Details

    • values

      public static JdkDistribution[] 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 JdkDistribution 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
    • distribution

      @NonNull public @NonNull String distribution()
    • description

      @NonNull public @NonNull String description()