BowlerKernel
|
Public Member Functions | |
Object | inlineScriptRun (File code, ArrayList< Object > args) throws Exception |
Object | inlineScriptRun (String code, ArrayList< Object > args) throws Exception |
String | getShellType () |
boolean | getIsTextFile () |
String | getDefaultContents () |
ArrayList< String > | getFileExtenetion () |
![]() | |
default boolean | isSupportedFileExtenetion (String filename) |
default String | getDefaultContents (String gitURL, String fileSlug) |
Definition at line 19 of file SequenceRunner.java.
String com.neuronrobotics.bowlerstudio.scripting.SequenceRunner.getDefaultContents | ( | ) |
Get the contents of an empty file
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 52 of file SequenceRunner.java.
ArrayList<String> com.neuronrobotics.bowlerstudio.scripting.SequenceRunner.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 57 of file SequenceRunner.java.
boolean com.neuronrobotics.bowlerstudio.scripting.SequenceRunner.getIsTextFile | ( | ) |
This function returns if this is a binary file or a text file
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 43 of file SequenceRunner.java.
String com.neuronrobotics.bowlerstudio.scripting.SequenceRunner.getShellType | ( | ) |
Returns the HashMap key for this language
Implements com.neuronrobotics.bowlerstudio.scripting.IScriptingLanguage.
Definition at line 38 of file SequenceRunner.java.
Object com.neuronrobotics.bowlerstudio.scripting.SequenceRunner.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 22 of file SequenceRunner.java.
Object com.neuronrobotics.bowlerstudio.scripting.SequenceRunner.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 31 of file SequenceRunner.java.
References com.neuronrobotics.bowlerstudio.sequence.TimeSequence.execute().