|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.rioproject.exec.ExecDescriptor
public class ExecDescriptor
Execution Attributes for an external service
| Constructor Summary | |
|---|---|
ExecDescriptor()
Create an ExecDescriptor |
|
ExecDescriptor(String commandLine)
Create an ExecDescriptor |
|
ExecDescriptor(String commandLine,
String workingDirectory)
Create an ExecDescriptor |
|
ExecDescriptor(String commandLine,
String workingDirectory,
String stdOutFileName,
String stdErrFileName,
String inputArgs)
Create an ExecDescriptor |
|
| Method Summary | |
|---|---|
String |
getCommandLine()
Get the command line |
Map<String,String> |
getEnvironment()
Get the environment variable settings for the subprocess. |
String |
getInputArgs()
|
String |
getPidFile()
Optional path of the file that contains the pid of of the process |
String |
getStdErrFileName()
Get the standard error file name |
String |
getStdOutFileName()
Get the standard output file name |
String |
getWorkingDirectory()
Get the working directory |
void |
setCommandLine(String commandLine)
|
void |
setEnvironment(Map<String,String> env)
|
void |
setEnvironment(String[] env)
|
void |
setInputArgs(String inputArgs)
|
void |
setPidFile(String pidFile)
Set the pid file |
void |
setStdErrFileName(String stdErrFileName)
A file name for the standard error stream. |
void |
setStdOutFileName(String stdOutFileName)
A file name for the standard output stream. |
void |
setWorkingDirectory(String workingDirectory)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExecDescriptor()
public ExecDescriptor(String commandLine)
commandLine - The commandLine
public ExecDescriptor(String commandLine,
String workingDirectory)
commandLine - The commandLineworkingDirectory - The working directory
public ExecDescriptor(String commandLine,
String workingDirectory,
String stdOutFileName,
String stdErrFileName,
String inputArgs)
commandLine - The commandLineworkingDirectory - The working directorystdOutFileName - The file name to redirect standard output tostdErrFileName - The file name to redirect standard error toinputArgs - Input arguments| Method Detail |
|---|
public String getCommandLine()
public void setCommandLine(String commandLine)
public String getWorkingDirectory()
public void setWorkingDirectory(String workingDirectory)
public void setEnvironment(String[] env)
public void setEnvironment(Map<String,String> env)
public Map<String,String> getEnvironment()
public String getStdOutFileName()
public void setStdOutFileName(String stdOutFileName)
stdOutFileName - The file name to redirect standard output stream to.public String getStdErrFileName()
public void setStdErrFileName(String stdErrFileName)
stdErrFileName - The file name to redirect standard error stream to.public String getInputArgs()
public void setInputArgs(String inputArgs)
public String getPidFile()
public void setPidFile(String pidFile)
pidFile - The path of the file that contains the pid of of the process
|
Copyright © Rio Project. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||