001    /**
002     * Copyright 2010-2013 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.common.util.secure;
017    
018    public class Result {
019    
020            String encoding;
021            String command;
022            String stdin;
023            int exitValue;
024            String stdout;
025            String stderr;
026            long start;
027            long stop;
028            long elapsed;
029    
030            public String getCommand() {
031                    return command;
032            }
033    
034            public void setCommand(String command) {
035                    this.command = command;
036            }
037    
038            public String getStdin() {
039                    return stdin;
040            }
041    
042            public void setStdin(String stdin) {
043                    this.stdin = stdin;
044            }
045    
046            public String getEncoding() {
047                    return encoding;
048            }
049    
050            public void setEncoding(String encoding) {
051                    this.encoding = encoding;
052            }
053    
054            public int getExitValue() {
055                    return exitValue;
056            }
057    
058            public void setExitValue(int exitValue) {
059                    this.exitValue = exitValue;
060            }
061    
062            public String getStdout() {
063                    return stdout;
064            }
065    
066            public void setStdout(String stdout) {
067                    this.stdout = stdout;
068            }
069    
070            public String getStderr() {
071                    return stderr;
072            }
073    
074            public void setStderr(String stderr) {
075                    this.stderr = stderr;
076            }
077    
078            public long getStart() {
079                    return start;
080            }
081    
082            public void setStart(long start) {
083                    this.start = start;
084            }
085    
086            public long getStop() {
087                    return stop;
088            }
089    
090            public void setStop(long stop) {
091                    this.stop = stop;
092            }
093    
094            public long getElapsed() {
095                    return elapsed;
096            }
097    
098            public void setElapsed(long elapsed) {
099                    this.elapsed = elapsed;
100            }
101    
102    }