ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/java/PlatformTools/src/net/oni2/platformtools/applicationinvoker/ApplicationInvocationResult.java
Revision: 724
Committed: Thu Mar 21 11:43:42 2013 UTC (12 years, 7 months ago) by alloc
Content type: text/x-java
File size: 873 byte(s)
Log Message:
Platform tools library (information about platform, program execution)

File Contents

# Content
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 }