ScriptingUtils
- public class ScriptingUtils
Constructors
ScriptingUtils
- public ScriptingUtils()
Methods
getScriptFile
- public File getScriptFile(String command)
Get the script file by the relative path.
Run through all registered bin_dirs and try to resolve the command relative to them. The first matching file is used. When it is not executable throw a SERVER_SIDE_SCRIPT_NOT_EXECUTABLE message. When no matching file exists throw a SERVER_SIDE_SCRIPT_DOES_NOT_EXIST message.
- Parameters:
command – The relative path
- Throws:
Message
–
- Returns:
The script File object.