|
BowlerKernel
|


Public Member Functions | |
| String | getShellType () |
| String | getDefaultContents () |
| Object | inlineScriptRun (File code, ArrayList< Object > args) throws Exception |
| Object | inlineScriptRun (String code, ArrayList< Object > args) throws Exception |
| boolean | getIsTextFile () |
| ArrayList< String > | getFileExtenetion () |
| IDebugScriptRunner | compileDebug (File f) |
Public Member Functions inherited from com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage | |
| default boolean | isSupportedFileExtenetion (String filename) |
| default String | getDefaultContents (String gitURL, String fileSlug) |
Private Member Functions | |
| Object | inline (Object code, ArrayList< Object > args) throws Exception |
Definition at line 19 of file GroovyHelper.java.
| IDebugScriptRunner com.neuronrobotics.bowlerstudio.scripting.GroovyHelper.compileDebug | ( | File | f | ) |
This interface defines a scripting langauge that supports debugging. A file can be compiled to a DebugScriptRunner object that manages runtime.
| f | the file to be debugged |
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguageDebugger.
Definition at line 104 of file GroovyHelper.java.
| String com.neuronrobotics.bowlerstudio.scripting.GroovyHelper.getDefaultContents | ( | ) |
Get the contents of an empty file
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 75 of file GroovyHelper.java.
| ArrayList<String> com.neuronrobotics.bowlerstudio.scripting.GroovyHelper.getFileExtenetion | ( | ) |
Returns the list of supported file extentions Convention is to provide just the leters that make up the file extention
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 98 of file GroovyHelper.java.
| boolean com.neuronrobotics.bowlerstudio.scripting.GroovyHelper.getIsTextFile | ( | ) |
This function returns if this is a binary file or a text file
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 92 of file GroovyHelper.java.
| String com.neuronrobotics.bowlerstudio.scripting.GroovyHelper.getShellType | ( | ) |
Returns the HashMap key for this language
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 67 of file GroovyHelper.java.
|
private |
Definition at line 22 of file GroovyHelper.java.
References com.neuronrobotics.bowlerstudio.scripting.ScriptingEngine.getImports().

| Object com.neuronrobotics.bowlerstudio.scripting.GroovyHelper.inlineScriptRun | ( | File | code, |
| ArrayList< Object > | args | ||
| ) | throws Exception |
This interface is for adding additional language support.
| code | file content of the code to be executed |
| args | the incoming arguments as a list of objects |
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 80 of file GroovyHelper.java.
| Object com.neuronrobotics.bowlerstudio.scripting.GroovyHelper.inlineScriptRun | ( | String | code, |
| ArrayList< Object > | args | ||
| ) | throws Exception |
This interface is for adding additional language support.
| code | the text content of the code to be executed |
| args | the incoming arguments as a list of objects |
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 86 of file GroovyHelper.java.