クラス TemplateExecutor
java.lang.ObjectSE
org.springframework.shell.jline.tui.style.TemplateExecutor
スタイリングを使用することを知っているテンプレート実行者。
- 作成者:
- Janne Valkealahti, Piotr Olaszewski
コンストラクター概要
コンストラクター方法の概要
修飾子と型メソッド説明org.jline.utils.AttributedString指定された属性でテンプレートをレンダリングします。org.jline.utils.AttributedStringrenderGroup(StringSE template, MapSE<StringSE, @Nullable ObjectSE> attributes) mainという名前のインスタンスが見つかることを期待して、指定された属性を持つテンプレートグループをレンダリングします。
コンストラクターの詳細
TemplateExecutor
メソッドの詳細
render
public org.jline.utils.AttributedString render(StringSE template, MapSE<StringSE, @Nullable ObjectSE> attributes) 指定された属性でテンプレートをレンダリングします。- パラメーター:
template- ST テンプレートattributes- ST テンプレート属性- 戻り値:
- レンダリングされたテンプレート
renderGroup
public org.jline.utils.AttributedString renderGroup(StringSE template, MapSE<StringSE, @Nullable ObjectSE> attributes) mainという名前のインスタンスが見つかることを期待して、指定された属性を持つテンプレートグループをレンダリングします。- パラメーター:
template- ST テンプレートattributes- ST テンプレート属性- 戻り値:
- レンダリングされたテンプレート