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