org.nuxeo.ecm.platform.commandline.executor.api
Class ExecResult
java.lang.Object
org.nuxeo.ecm.platform.commandline.executor.api.ExecResult
- All Implemented Interfaces:
- java.io.Serializable
public class ExecResult
- extends java.lang.Object
- implements java.io.Serializable
Wraps result of the command-line execution:
- output buffer,
- return code,
- java Exception.
- Author:
- tiry
- See Also:
- Serialized Form
Constructor Summary |
ExecResult(java.lang.Exception error)
|
ExecResult(java.util.List<java.lang.String> output,
long execTime,
int returnCode)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecResult
public ExecResult(java.util.List<java.lang.String> output,
long execTime,
int returnCode)
ExecResult
public ExecResult(java.lang.Exception error)
getOutput
public java.util.List<java.lang.String> getOutput()
getExecTime
public long getExecTime()
isSuccessful
public boolean isSuccessful()
getError
public java.lang.Exception getError()
getReturnCode
public int getReturnCode()
Copyright © 2010 Nuxeo SAS. All Rights Reserved.