001    /**
002     * 
003     */
004    package de.jw.cloud42.core.domain;
005    
006    /**
007     * A RemoteResult encapsulates return information of remotly executed commands.
008     *  
009     * @author fbitzer
010     *
011     */
012    public class RemoteResult {
013            
014            private String stdErr;
015            private String stdOut;
016            private int exitCode = -1;//set to -1 per default
017            
018            private String exceptionMessage;
019            
020            /**
021             * @return the stdErr
022             */
023            public String getStdErr() {
024                    return stdErr;
025            }
026            /**
027             * @param stdErr the stdErr to set
028             */
029            public void setStdErr(String stdErr) {
030                    this.stdErr = stdErr;
031            }
032            /**
033             * @return the stdOut
034             */
035            public String getStdOut() {
036                    return stdOut;
037            }
038            /**
039             * @param stdOut the stdOut to set
040             */
041            public void setStdOut(String stdOut) {
042                    this.stdOut = stdOut;
043            }
044            /**
045             * @return the exceptionMessage
046             */
047            public String getExceptionMessage() {
048                    return exceptionMessage;
049            }
050            /**
051             * @param exceptionMessage the exceptionMessage to set
052             */
053            public void setExceptionMessage(String exceptionMessage) {
054                    this.exceptionMessage = exceptionMessage;
055            }
056            public int getExitCode() {
057                    return exitCode;
058            }
059            public void setExitCode(int exitCode) {
060                    this.exitCode = exitCode;
061            }
062            
063            
064            
065            
066            
067    
068    }