org.zeroturnaround.exec
Class StartedProcess
java.lang.Object
org.zeroturnaround.exec.StartedProcess
public class StartedProcess
- extends Object
Represents a process that has started. It may or may not have finished.
- Author:
- Rein Raudjärv
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StartedProcess
public StartedProcess(Process process,
Future<ProcessResult> future)
getProcess
public Process getProcess()
- Returns:
- the started process.
getFuture
public Future<ProcessResult> getFuture()
- Returns:
- asynchronous result of the started process.
process
public Process process()
- Deprecated. use
getProcess() instead.
- Returns:
- the started process.
future
public Future<ProcessResult> future()
- Deprecated. use
getFuture() instead.
- Returns:
- asynchronous result of the started process.
Copyright © 2015 ZeroTurnaround. All rights reserved.