View Javadoc

1   /**
2    * Copyright 2010-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   */
16  package org.kuali.common.util.secure;
17  
18  public class Result {
19  
20  	String encoding;
21  	String command;
22  	String stdin;
23  	int exitValue;
24  	String stdout;
25  	String stderr;
26  	long start;
27  	long stop;
28  	long elapsed;
29  
30  	public String getCommand() {
31  		return command;
32  	}
33  
34  	public void setCommand(String command) {
35  		this.command = command;
36  	}
37  
38  	public String getStdin() {
39  		return stdin;
40  	}
41  
42  	public void setStdin(String stdin) {
43  		this.stdin = stdin;
44  	}
45  
46  	public String getEncoding() {
47  		return encoding;
48  	}
49  
50  	public void setEncoding(String encoding) {
51  		this.encoding = encoding;
52  	}
53  
54  	public int getExitValue() {
55  		return exitValue;
56  	}
57  
58  	public void setExitValue(int exitValue) {
59  		this.exitValue = exitValue;
60  	}
61  
62  	public String getStdout() {
63  		return stdout;
64  	}
65  
66  	public void setStdout(String stdout) {
67  		this.stdout = stdout;
68  	}
69  
70  	public String getStderr() {
71  		return stderr;
72  	}
73  
74  	public void setStderr(String stderr) {
75  		this.stderr = stderr;
76  	}
77  
78  	public long getStart() {
79  		return start;
80  	}
81  
82  	public void setStart(long start) {
83  		this.start = start;
84  	}
85  
86  	public long getStop() {
87  		return stop;
88  	}
89  
90  	public void setStop(long stop) {
91  		this.stop = stop;
92  	}
93  
94  	public long getElapsed() {
95  		return elapsed;
96  	}
97  
98  	public void setElapsed(long elapsed) {
99  		this.elapsed = elapsed;
100 	}
101 
102 }