Package com.avoka.core.groovy.runtime
Class GroovyScriptTypeChecker
- java.lang.Object
-
- com.avoka.core.groovy.runtime.GroovyScriptTypeChecker
-
public class GroovyScriptTypeChecker extends Object
Provides Groovy Script type checker.- Since:
- 5.0.0
-
-
Constructor Summary
Constructors Constructor Description GroovyScriptTypeChecker(ClassLoader classLoader)
Create a new GroovyScript runtime with the given class loader.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
parseTypedScript(String script)
Parse the given typed script, return null if valid, or a error message if not valid.String
parseTypedUnitTestScript(String script)
Parse the given typed unit test script, return null if valid, or a error message if not valid.
-
-
-
Constructor Detail
-
GroovyScriptTypeChecker
public GroovyScriptTypeChecker(ClassLoader classLoader)
Create a new GroovyScript runtime with the given class loader.- Parameters:
classLoader
- the script class loader
-
-
Method Detail
-
parseTypedScript
public String parseTypedScript(String script)
Parse the given typed script, return null if valid, or a error message if not valid.- Parameters:
script
- parse the given typed script- Returns:
- null if valid, or a error message if not valid.
-
parseTypedUnitTestScript
public String parseTypedUnitTestScript(String script)
Parse the given typed unit test script, return null if valid, or a error message if not valid.- Parameters:
script
- parse the given typed unit test script- Returns:
- null if valid, or a error message if not valid.
- Since:
- 5.1.4
-
-