BowlerKernel
|
Public Member Functions | |
Object | inlineScriptRun (File code, ArrayList< Object > args) throws Exception |
Object | inlineScriptRun (String code, ArrayList< Object > args) throws Exception |
String | getShellType () |
ArrayList< String > | getFileExtenetion () |
String | getDefaultContents () |
boolean | getIsTextFile () |
![]() | |
default boolean | isSupportedFileExtenetion (String filename) |
default String | getDefaultContents (String gitURL, String fileSlug) |
Definition at line 12 of file BashLoader.java.
String com.neuronrobotics.bowlerstudio.scripting.BashLoader.getDefaultContents | ( | ) |
Get the contents of an empty file
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 79 of file BashLoader.java.
ArrayList<String> com.neuronrobotics.bowlerstudio.scripting.BashLoader.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 68 of file BashLoader.java.
boolean com.neuronrobotics.bowlerstudio.scripting.BashLoader.getIsTextFile | ( | ) |
This function returns if this is a binary file or a text file
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 84 of file BashLoader.java.
String com.neuronrobotics.bowlerstudio.scripting.BashLoader.getShellType | ( | ) |
Returns the HashMap key for this language
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 63 of file BashLoader.java.
Object com.neuronrobotics.bowlerstudio.scripting.BashLoader.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 15 of file BashLoader.java.
Object com.neuronrobotics.bowlerstudio.scripting.BashLoader.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 58 of file BashLoader.java.