Class Command
java.lang.Object
org.tigris.subversion.svnclientadapter.utils.Command
execute a command. Some parts of this class come from SVNKit
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
exec()
void
kill()
void
setErr
(OutputStream err) void
setOut
(OutputStream out) void
setParameters
(String[] parameters) int
waitFor()
causes the current thread to wait, if necessary, until the process represented by thisCommand
object has terminated
-
Constructor Details
-
Command
-
-
Method Details
-
setErr
- Parameters:
err
- The err to set.
-
setOut
- Parameters:
out
- The out to set.
-
setParameters
- Parameters:
parameters
- The parameters to set.
-
getProcess
- Returns:
- Returns the process.
-
kill
public void kill() -
exec
- Throws:
IOException
-
waitFor
causes the current thread to wait, if necessary, until the process represented by thisCommand
object has terminated- Returns:
- the exit value of the process. By convention,
0
indicates normal termination. - Throws:
InterruptedException
-