Skip to content

03.04.05.Groovy Templates固有仕様

stormcat24 edited this page Aug 12, 2014 · 1 revision

template.yaml

Groovy Templates利用時の設定はプロジェクトルートに配置するtemplate.yamlで行います。設定項目は以下のとおりです。

項目名 内容 デフォルト値
extension テンプレートの拡張子 .html
mode テンプレートモード(simple, gstring, xml) simple
groovyTemplate:
  extension: .html
  mode: gstring

テンプレートモード

それぞれのテンプレートモードの実装は以下のとおりです。

mode FQDN
simple groovy.text.SimpleTemplateEngine
gstring groovy.text.GStringTemplateEngine
xml groovy.text.XmlTemplateEngine

Aeromockでの拡張機能

なし

Clone this wiki locally