org.nuxeo.ecm.platform.commandline.executor.api
Class ExecResult
java.lang.Object
org.nuxeo.ecm.platform.commandline.executor.api.ExecResult
- All Implemented Interfaces:
- Serializable
public class ExecResult
- extends Object
- implements Serializable
Wraps result of the command-line execution:
- output buffer,
- return code,
- java Exception.
- Author:
- tiry
- See Also:
- Serialized Form
ExecResult
public ExecResult(List<String> output,
long execTime,
int returnCode)
ExecResult
public ExecResult(Exception error)
getOutput
public List<String> getOutput()
getExecTime
public long getExecTime()
isSuccessful
public boolean isSuccessful()
getError
public Exception getError()
getReturnCode
public int getReturnCode()
Copyright © 2011 Nuxeo SAS. All Rights Reserved.