Class AbstractSelectorComponent.ItemState<I extends Matchable>

java.lang.Object
org.springframework.shell.component.support.AbstractSelectorComponent.ItemState<I>
All Implemented Interfaces:
Matchable
Enclosing class:
AbstractSelectorComponent<T,C extends AbstractSelectorComponent.SelectorComponentContext<T,I,C>,I extends Nameable & Matchable & Enableable & Selectable & Itemable<T>>

public static class AbstractSelectorComponent.ItemState<I extends Matchable> extends Object implements Matchable
Class keeping item state.
  • Method Details

    • matches

      public boolean matches(String match)
      Specified by:
      matches in interface Matchable
    • getIndex

      public int getIndex()
    • getName

      public String getName()
    • isSelected

      public boolean isSelected()
    • isEnabled

      public boolean isEnabled()