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 TypeMethodDescriptionvoidexec()voidkill()voidsetErr(OutputStream err) voidsetOut(OutputStream out) voidsetParameters(String[] parameters) intwaitFor()causes the current thread to wait, if necessary, until the process represented by thisCommandobject 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 thisCommandobject has terminated- Returns:
- the exit value of the process. By convention,
0indicates normal termination. - Throws:
InterruptedException
-