-
-
Methods Summary
Methods
Type Params |
Return Type |
Name and description |
|
boolean |
canRun(Class<?> scriptClass, groovy.lang.GroovyClassLoader loader) Returns true if this runner is able to
run the given class. |
|
Object |
run(Class<?> scriptClass, groovy.lang.GroovyClassLoader loader) Runs the given class. |
-
-
Method Detail
-
public Object run(Class<?> scriptClass, groovy.lang.GroovyClassLoader loader)
Runs the given class.
- Parameters:
scriptClass
- class to runloader
- used to locate classes and resources
- Returns:
- result of running the class
Copyright © 2003-2019 The Apache Software Foundation. All rights reserved.