Class JdkVersion

java.lang.Object
io.micronaut.starter.options.JdkVersion

public final class JdkVersion extends Object
JDK versions. Releases
Since:
1.0.0
Author:
graemerocher
  • Field Details

  • Constructor Details

    • JdkVersion

      public JdkVersion(int majorVersion)
  • Method Details

    • name

      public String name()
      Returns:
      the name
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • valueOf

      public static JdkVersion valueOf(String jdkVersion)
    • valueOf

      public static JdkVersion valueOf(int majorVersion)
    • majorVersion

      public int majorVersion()
    • greaterThanEqual

      public boolean greaterThanEqual(@NonNull @NonNull JdkVersion jdk)
    • asString

      public String asString()