Klasse GroovyScriptOutlet

Alle implementierten Schnittstellen:
Outlet, TemplateOutlet

public class GroovyScriptOutlet extends GroovyOutlet
A Outlet which uses a groovy script for generation.
  • Konstruktordetails

    • GroovyScriptOutlet

      public GroovyScriptOutlet(QualifiedName name, ConfigurationProvider configurationProvider, String path, String encoding) throws ConfigurationException
      Constructs a new GroovyScriptOutlet.
      Parameter:
      name - the name of this outlet, not null.
      configurationProvider - the provider for reading the templates, not null.
      path - the path to the templates, not null.
      encoding - the encoding of the file, or null if the system's default encoding should be used.
      Löst aus:
      NullPointerException - if name, path or directories are null.
      ConfigurationException - if an error occurs while reading the template.
  • Methodendetails