|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rhq.core.pluginapi.util.ProcessExecutionUtility
public class ProcessExecutionUtility
A set of utility methods for creating ProcessExecutions.
| Method Summary | |
|---|---|
static ProcessExecution |
createProcessExecution(File file)
Creates a ProcessExecution for the specified file for the current platform. |
static ProcessExecution |
createProcessExecution(String prefix,
File file)
Creates a ProcessExecution for the specified file for the current platform. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ProcessExecution createProcessExecution(File file)
file - an executable or a batch file
public static ProcessExecution createProcessExecution(String prefix,
File file)
prefix - a prefix command line that should be prepended to the executable's command line
(e.g. "/usr/bin/nohup /usr/bin/sudo -u jboss -g jboss"). any files on the
command line should be absolute paths. if null, no prefix command line will be
prependedfile - an executable or a batch file
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||