org.codehaus.gram
Class Gram

java.lang.Object
  extended by org.codehaus.gram.Gram

public class Gram
extends Object

A helper service for invoking Groovy scripts based on a JAM service

Version:
$Revision: 2906 $

Constructor Summary
Gram(org.codehaus.jam.JamService jam)
           
 
Method Summary
protected  groovy.lang.GroovyShell createShell()
           
 void execute(File script)
           
 void execute(String script)
           
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gram

public Gram(org.codehaus.jam.JamService jam)
Method Detail

main

public static void main(String[] args)

execute

public void execute(String script)
             throws org.codehaus.groovy.control.CompilationFailedException,
                    IOException
Throws:
org.codehaus.groovy.control.CompilationFailedException
IOException

execute

public void execute(File script)
             throws IOException,
                    org.codehaus.groovy.control.CompilationFailedException
Throws:
IOException
org.codehaus.groovy.control.CompilationFailedException

createShell

protected groovy.lang.GroovyShell createShell()


Copyright © 2004-2008 The Codehaus. All Rights Reserved.