クラス TemplateExecutor

java.lang.ObjectSE
org.springframework.shell.style.TemplateExecutor

public class TemplateExecutor extends ObjectSE
スタイリングを使用することを知っているテンプレート実行者。
  • コンストラクターの詳細

    • TemplateExecutor

      public TemplateExecutor(ThemeResolver themeResolver)
  • メソッドの詳細

    • render

      public org.jline.utils.AttributedString render(StringSE template, MapSE<StringSE,ObjectSE> attributes)
      指定された属性でテンプレートをレンダリングします。
      パラメーター:
      template - ST テンプレート
      attributes - ST テンプレート属性
      戻り値:
      レンダリングされたテンプレート
    • renderGroup

      public org.jline.utils.AttributedString renderGroup(StringSE template, MapSE<StringSE,ObjectSE> attributes)
      main という名前のインスタンスが見つかることを期待して、指定された属性を持つテンプレートグループをレンダリングします。
      パラメーター:
      template - ST テンプレート
      attributes - ST テンプレート属性
      戻り値:
      レンダリングされたテンプレート