Last change
on this file since 1095 was 724, checked in by alloc, 12 years ago |
Platform tools library (information about platform, program execution)
|
File size:
873 bytes
|
Line | |
---|
1 | package net.oni2.platformtools.applicationinvoker;
|
---|
2 |
|
---|
3 | import java.util.Vector;
|
---|
4 |
|
---|
5 | /**
|
---|
6 | * @author Christian Illy
|
---|
7 | */
|
---|
8 | public class ApplicationInvocationResult {
|
---|
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 | * Time the app was run for
|
---|
23 | */
|
---|
24 | public int time;
|
---|
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
|
---|
33 | * @param time
|
---|
34 | * Time of execution in ms
|
---|
35 | */
|
---|
36 | public ApplicationInvocationResult(int errorCode, Vector<String> cmdLine,
|
---|
37 | Vector<String> output, int time) {
|
---|
38 | this.errorCode = errorCode;
|
---|
39 | this.cmdLine = cmdLine;
|
---|
40 | this.output = output;
|
---|
41 | this.time = time;
|
---|
42 | }
|
---|
43 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.