void | addFileToCopy(java.lang.String file) |
void | addRunDirChangedListener(com.phoenix_int.aserver.IPHXRunDirChangedListener rdl) Adds a listener which will receive events when the run directory is changed. |
void | addTraceListener(com.phoenix_int.aserver.trace.IPHXTraceListener listener) Adds a listener to trace events |
void | cleanTempDir() cleans up the temporary run directory if one has been created. |
void | finalize() |
boolean | getAutoChangeDir() Gets the AutoChangeDir flag |
int | getAutoDelete() Gets the auto-delete mode |
java.lang.String | getBaseDirectory() Gets the base dir which was passed in to the constructor. |
java.util.Map | getDictionary() |
java.lang.String | getDirectory() Returns the current directory being used by the runshare system. |
boolean | getIgnoreErrors() Gets the IgnoreErrors flag |
int | getMode() Gets the runshare mode |
java.lang.Object | getMonitor(java.lang.String m) Returns any available monitors by name. |
java.lang.String | getShell() Gets the shell used to execute commands. |
java.lang.String | getWrapperID() Returns the wrapper ID being used for locking. |
void | halt() halts any running process |
java.lang.String[] | listMonitorableFiles() Lists available “monitors”. |
PHXProcessInfo[] | listProcesses() Lists any running processes |
void | lock() Causes the run-share mode to be implemented. |
void | removeRunDirChangedListener(com.phoenix_int.aserver.IPHXRunDirChangedListener rdl) Removes a listener for run directory changed events. |
void | removeTraceListener(com.phoenix_int.aserver.trace.IPHXTraceListener listener) Removes a listener from trace events |
void | reset() Reset the ProcessStruct back to initial state for possible use in another run request. |
void | run(java.lang.String cmd) Runs a command. |
void | run(java.lang.String cmd, boolean ignoreErrors, boolean autoChangeDir, java.lang.String shell) Runs a command. |
void | run(java.lang.String cmd, boolean ignoreErrors, java.lang.String autoChangeDir, java.lang.String shell) Runs a command. |
int | run2(java.lang.String cmd, boolean ignoreErrors, java.lang.String autoChangeDir, java.lang.String shell) Runs a command. |
void | setAutoChangeDir(boolean flag) Sets the AutoChangeDir flag. |
void | setAutoDelete(int autoDelete) Sets the auto-delete mode for runshare mode MODE_SHARE. |
PHXRunShare | setDictionary(java.util.Map dict) |
void | setDirectTransfer(boolean flag) Set whether or not this runShare is involved in direct transfer of files |
void | setFilesToCopy(java.lang.String files) Sets the files which need to be copied when runshare mode is MODE_SHARE. |
void | setIgnoreErrors(boolean flag) Sets the IgnoreErrors flag. |
void | setMode(int mode) Sets the runshare mode. |
void | setRunDirectory(java.lang.String runDirectory) |
void | setRunReplacer(com.phoenix_int.aserver.util.PHXRunReplacer replacer) Sets the run replacer object which is used to transform $VAR type specifications before running commands |
void | setShell(java.lang.String shell) Sets the shell used to execute commands. |
void | timeout() Cleans up a run that has timed out |
void | unlock() Unlocks the runshare mechanisms. |