Package uk.ac.diamond.daq.mapping.api
Interface IScriptFiles
- All Known Implementing Classes:
ScriptFiles
public interface IScriptFiles
Defines the script files to be run before and/or after a scan.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanvoidsetAfterScanScript(String afterScanScript) voidsetAlwaysRunAfterScript(boolean alwaysRunAfterScript) voidsetBeforeScanScript(String beforeScanScript) voidsetEnvironment(Map<String, String> environment)
-
Method Details
-
setBeforeScanScript
-
getBeforeScanScript
String getBeforeScanScript()- Returns:
- the script to run before a scan
-
setAfterScanScript
-
getAfterScanScript
String getAfterScanScript()- Returns:
- the script to run after a scan
-
setAlwaysRunAfterScript
void setAlwaysRunAfterScript(boolean alwaysRunAfterScript) -
isAlwaysRunAfterScript
boolean isAlwaysRunAfterScript()- Returns:
- true if the "after scan" script should always be run, even if there is an error
-
setEnvironment
-
getEnvironment
- Returns:
- map of arguments to add to the Jython namespace
-