public interface GroovyRunner
Classes which can run scripts should implement this interface.
| Type Params | Return Type | Name and description | 
|---|---|---|
|  | public boolean | canRun(Class<?> scriptClass, GroovyClassLoader loader)Returns trueif this runner is able to
 run the given class. | 
|  | public Object | run(Class<?> scriptClass, GroovyClassLoader loader)Runs the given class. | 
 Returns true if this runner is able to
 run the given class.
      
scriptClass -  class to runloader -  used to locate classes and resourcesRuns the given class.
scriptClass -  class to runloader -  used to locate classes and resources