Last change
on this file since 703 was 703, checked in by alloc, 12 years ago |
AEI2 0.99u:
- Added duration output for executed commands
- Added total time output for both applying patches and combine binaries tasks of installation
|
File size:
855 bytes
|
Rev | Line | |
---|
[702] | 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;
|
---|
[703] | 21 | /**
|
---|
| 22 | * Time the app was run for
|
---|
| 23 | */
|
---|
| 24 | public int time;
|
---|
[702] | 25 |
|
---|
| 26 | /**
|
---|
| 27 | * @param errorCode
|
---|
| 28 | * Error code from executed program
|
---|
| 29 | * @param cmdLine
|
---|
| 30 | * Commandline of call
|
---|
| 31 | * @param output
|
---|
| 32 | * Output of executed program
|
---|
[703] | 33 | * @param time
|
---|
| 34 | * Time of execution in ms
|
---|
[702] | 35 | */
|
---|
| 36 | public AppExecutionResult(int errorCode, Vector<String> cmdLine,
|
---|
[703] | 37 | Vector<String> output, int time) {
|
---|
[702] | 38 | this.errorCode = errorCode;
|
---|
| 39 | this.cmdLine = cmdLine;
|
---|
| 40 | this.output = output;
|
---|
[703] | 41 | this.time = time;
|
---|
[702] | 42 | }
|
---|
| 43 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.