Class GroovyScriptOutlet

    • Constructor Detail

      • GroovyScriptOutlet

        public GroovyScriptOutlet​(QualifiedName name,
                                  ConfigurationProvider configurationProvider,
                                  String path,
                                  String encoding)
                           throws ConfigurationException
        Constructs a new GroovyScriptOutlet.
        Parameters:
        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.
        Throws:
        NullPointerException - if name, path or directories are null.
        ConfigurationException - if an error occurs while reading the template.