BowlerKernel
|
Public Member Functions | |
Object | inlineScriptRun (String code, ArrayList< Object > args) |
Object | inlineScriptRun (File code, ArrayList< Object > args) |
String | getShellType () |
String | getDefaultContents () |
boolean | getIsTextFile () |
ArrayList< String > | getFileExtenetion () |
![]() | |
default boolean | isSupportedFileExtenetion (String filename) |
default String | getDefaultContents (String gitURL, String fileSlug) |
Definition at line 21 of file JythonHelper.java.
String com.neuronrobotics.bowlerstudio.scripting.JythonHelper.getDefaultContents | ( | ) |
Get the contents of an empty file
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 101 of file JythonHelper.java.
ArrayList<String> com.neuronrobotics.bowlerstudio.scripting.JythonHelper.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 111 of file JythonHelper.java.
boolean com.neuronrobotics.bowlerstudio.scripting.JythonHelper.getIsTextFile | ( | ) |
This function returns if this is a binary file or a text file
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 105 of file JythonHelper.java.
String com.neuronrobotics.bowlerstudio.scripting.JythonHelper.getShellType | ( | ) |
Returns the HashMap key for this language
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 93 of file JythonHelper.java.
Object com.neuronrobotics.bowlerstudio.scripting.JythonHelper.inlineScriptRun | ( | File | code, |
ArrayList< Object > | args | ||
) |
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 78 of file JythonHelper.java.
References com.neuronrobotics.bowlerstudio.scripting.JythonHelper.inlineScriptRun().
Object com.neuronrobotics.bowlerstudio.scripting.JythonHelper.inlineScriptRun | ( | String | code, |
ArrayList< Object > | args | ||
) |
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 27 of file JythonHelper.java.
References com.neuronrobotics.sdk.common.Log.debug().
Referenced by com.neuronrobotics.bowlerstudio.scripting.JythonHelper.inlineScriptRun().