|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.enterprise.admin.cli.CLIProcessExecutor
public class CLIProcessExecutor
CLIProcessExecutor A simple process executor class that is used by CLI.
| Field Summary | |
|---|---|
private java.lang.Process |
process
|
| Constructor Summary | |
|---|---|
CLIProcessExecutor()
|
|
| Method Summary | |
|---|---|
void |
execute(java.lang.String name,
java.lang.String[] cmd,
boolean wait)
This method invokes the runtime exec |
int |
exitValue()
return the exit value of this process. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private java.lang.Process process
| Constructor Detail |
|---|
public CLIProcessExecutor()
| Method Detail |
|---|
public void execute(java.lang.String name,
java.lang.String[] cmd,
boolean wait)
throws java.lang.Exception
cmd - the command to executewait - if true, wait for process to end.
java.lang.Exceptionpublic int exitValue()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||