| 1 |
package net.oni2.aeinstaller.backend.appexecution; |
| 2 |
|
| 3 |
import java.util.Vector; |
| 4 |
|
| 5 |
/** |
| 6 |
* @author Christian Illy |
| 7 |
*/ |
| 8 |
public class AppExecutionResult { |
| 9 |
/** |
| 10 |
* Returned error code |
| 11 |
*/ |
| 12 |
public int errorCode; |
| 13 |
/** |
| 14 |
* Call command line |
| 15 |
*/ |
| 16 |
public Vector<String> cmdLine; |
| 17 |
/** |
| 18 |
* Combined StdOut+ErrOut lines |
| 19 |
*/ |
| 20 |
public Vector<String> output; |
| 21 |
|
| 22 |
/** |
| 23 |
* @param errorCode |
| 24 |
* Error code from executed program |
| 25 |
* @param cmdLine |
| 26 |
* Commandline of call |
| 27 |
* @param output |
| 28 |
* Output of executed program |
| 29 |
*/ |
| 30 |
public AppExecutionResult(int errorCode, Vector<String> cmdLine, |
| 31 |
Vector<String> output) { |
| 32 |
this.errorCode = errorCode; |
| 33 |
this.cmdLine = cmdLine; |
| 34 |
this.output = output; |
| 35 |
} |
| 36 |
} |