org.zeroturnaround.exec
Class StartedProcess

java.lang.Object
  extended by 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

Constructor Summary
StartedProcess(Process process, Future<ProcessResult> future)
           
 
Method Summary
 Future<ProcessResult> future()
          Deprecated. use getFuture() instead.
 Future<ProcessResult> getFuture()
           
 Process getProcess()
           
 Process process()
          Deprecated. use getProcess() instead.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StartedProcess

public StartedProcess(Process process,
                      Future<ProcessResult> future)
Method Detail

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.