|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.perforce.HudsonP4Executor
public class HudsonP4Executor
Implementation of the P4Java Executor interface that provides support for remotely executing Perforce commands.
User contract: Use this class only once to execute a command. ,to execute another command, spawn another Exector using the Exector Factory
| Method Summary | |
|---|---|
void |
close()
Close down all open resources |
void |
exec(java.lang.String[] cmd)
Execute the specified command and its arguments |
java.io.BufferedReader |
getReader()
Returns a BufferedReader for reading from the stdout/stderr of this process |
java.io.BufferedWriter |
getWriter()
Returns a BufferedWriter for writing to the stdin of this process |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public void close()
Executor
close in interface Executor
public void exec(java.lang.String[] cmd)
throws PerforceException
Executor
exec in interface ExecutorPerforceExceptionpublic java.io.BufferedReader getReader()
Executor
getReader in interface Executorpublic java.io.BufferedWriter getWriter()
Executor
getWriter in interface Executor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||