Class JdkVersionDTO

java.lang.Object
io.micronaut.starter.api.Linkable
io.micronaut.starter.api.JdkVersionDTO
All Implemented Interfaces:
io.micronaut.core.naming.Described, io.micronaut.core.naming.Named, Selectable<JdkVersion>

public class JdkVersionDTO extends Linkable implements io.micronaut.core.naming.Named, io.micronaut.core.naming.Described, Selectable<JdkVersion>
DTO objects for JdkVersion.
Since:
1.0.0
Author:
graemerocher
  • Constructor Details

    • JdkVersionDTO

      public JdkVersionDTO(JdkVersion jdkVersion)
      Parameters:
      jdkVersion - The jdkVersion
  • Method Details

    • getDescription

      public String getDescription()
      Description copied from interface: Selectable
      The Description
      Specified by:
      getDescription in interface io.micronaut.core.naming.Described
      Specified by:
      getDescription in interface Selectable<JdkVersion>
      Returns:
    • getName

      @NonNull public @NonNull String getName()
      Specified by:
      getName in interface io.micronaut.core.naming.Named
    • getValue

      @NonNull public @NonNull JdkVersion getValue()
      Description copied from interface: Selectable
      The Underlying Value represented by the Option
      Specified by:
      getValue in interface Selectable<JdkVersion>
      Returns:
    • getLabel

      public String getLabel()
      Description copied from interface: Selectable
      The Label
      Specified by:
      getLabel in interface Selectable<JdkVersion>
      Returns: