java.lang.Object
org.springframework.shell.component.support.AbstractComponent<C>
org.springframework.shell.component.support.AbstractSelectorComponent<T,C,I>
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ResourceLoaderAware
Direct Known Subclasses:
MultiItemSelector, SingleItemSelector

public abstract class AbstractSelectorComponent<T,C extends AbstractSelectorComponent.SelectorComponentContext<T,I,C>,I extends Nameable & Matchable & Enableable & Selectable & Itemable<T>> extends AbstractComponent<C>
Base component for selectors which provide selectable lists.
  • Field Details

    • name

      protected final String name
  • Constructor Details

    • AbstractSelectorComponent

      public AbstractSelectorComponent(org.jline.terminal.Terminal terminal, String name, List<I> items, boolean exitSelects, Comparator<I> comparator)
  • Method Details