Class SelectOptionDTO<T extends Selectable<?>>

java.lang.Object
io.micronaut.starter.api.SelectOptionDTO<T>
Type Parameters:
T - The underlying option type
Direct Known Subclasses:
ApplicationTypeSelectOptions, BuildToolSelectOptions, JdkVersionSelectOptions, LanguageSelectOptions, TestFrameworkSelectOptions

@Introspected public abstract class SelectOptionDTO<T extends Selectable<?>> extends Object
Supported Option
  • Constructor Details

    • SelectOptionDTO

      @Creator public SelectOptionDTO(List<T> options, T defaultOption)
  • Method Details

    • getOptions

      public List<T> getOptions()
    • getDefaultOption

      public T getDefaultOption()