Interface PathSearch.PathSearchContext
- すべてのスーパーインターフェース:
AbstractTextComponent.TextComponentContext<Path (標準 Javadoc) ,,PathSearch.PathSearchContext> ComponentContext<PathSearch.PathSearchContext>
- 含まれているクラス:
- PathSearch
public static interface PathSearch.PathSearchContext extends AbstractTextComponent.TextComponentContext < パス (標準 Javadoc) , PathSearch.PathSearchContext >
PathSearch のコンテキスト。ネストされたクラスの要約
ネストされたクラスインターフェース org.springframework.shell.jline.tui.component.support から継承されたネストされたクラス / インターフェース。AbstractTextComponent.TextComponentContext
AbstractTextComponent.TextComponentContext.MessageLevelメソッドのサマリー
修飾子と型メソッド説明static PathSearch.PathSearchContextempty()空のPathSearch.PathSearchContextを取得します。パス検索構成を取得します。パスビュー項目を取得します。static List (標準 Javadoc) <PartsText.PartText>ofPosition(String (標準 Javadoc) text, int position) static PartsTextofPositions(String (標準 Javadoc) text, int[] positions) 指定されたテキストを指定された位置でPartsText.PartTextに分割します。voidパス検索構成を設定します。voidパスビュー項目を設定します。インターフェース org.springframework.shell.jline.tui.component.support から継承されたメソッド。AbstractTextComponent.TextComponentContext
getInput, getMessage, getMessageLevel, getName, getResultValue, setInput, setMessage, setMessage, setMessageLevel, setName, setResultValueインターフェース org.springframework.shell.jline.tui.component.context から継承されたメソッド。ComponentContext
containsKey, get, get, getTerminalWidth, put, setTerminalWidth, stream, toTemplateModel
メソッドの詳細
getPathViewItems
@Nullable リスト (標準 Javadoc) < PathSearch.PathSearchContext.PathViewItem > getPathViewItems()パスビュー項目を取得します。- 戻り値:
- パスビュー項目
setPathViewItems
パスビュー項目を設定します。- パラメーター:
items- パスビュー項目
getPathSearchConfig
PathSearch.PathSearchConfig getPathSearchConfig()パス検索構成を取得します。- 戻り値:
- パス検索構成
setPathSearchConfig
パス検索構成を設定します。- パラメーター:
config- パス検索構成
空
空のPathSearch.PathSearchContextを取得します。- 戻り値:
- 空のパス検索コンテキスト
ofPositions
指定されたテキストを指定された位置でPartsText.PartTextに分割します。- パラメーター:
text- 分割するテキストpositions- 位置配列。順序付けされ、重複しないことが期待されます。- 戻り値:
- パーツテキスト
ofPosition