Class PathSearch.PathSearchContext.PathViewItem

java.lang.Object
org.springframework.shell.component.PathSearch.PathSearchContext.PathViewItem
All Implemented Interfaces:
Nameable
Enclosing interface:
PathSearch.PathSearchContext

public static class PathSearch.PathSearchContext.PathViewItem extends Object implements Nameable
Domain class for path view item. Having its index, name(path), ref to cursor row index and list of name match parts.
  • Constructor Details

    • PathViewItem

      public PathViewItem(Path path, PartsText partsText, boolean selected)
  • Method Details

    • getName

      public String getName()
      Specified by:
      getName in interface Nameable
    • getPath

      public Path getPath()
    • isSelected

      public boolean isSelected()
    • getPartsText

      public PartsText getPartsText()