Package org.eclipse.scanning.api.script
Class ScriptRequest
java.lang.Object
org.eclipse.scanning.api.script.ScriptRequest
This object provides the information such as file path,
environment, script language etc. to run a script on the
server.
-
Constructor Summary
ConstructorsConstructorDescriptionScriptRequest(String file) Creates a new SPEC_PASTICHE request running the file at the given path.ScriptRequest(String file, ScriptLanguage lang) -
Method Summary
Modifier and TypeMethodDescriptionbooleangetFile()inthashCode()voidsetEnvironment(Map<String, String> environment) voidvoidsetLanguage(ScriptLanguage language) toString()
-
Constructor Details
-
ScriptRequest
public ScriptRequest() -
ScriptRequest
Creates a new SPEC_PASTICHE request running the file at the given path.- Parameters:
file-
-
ScriptRequest
-
-
Method Details