de.cohesion.bssh.impl
Class ResultImpl

java.lang.Object
  extended by de.cohesion.bssh.impl.ResultImpl
All Implemented Interfaces:
Result

public class ResultImpl
extends java.lang.Object
implements Result

Author:
schulzs

Constructor Summary
protected ResultImpl(Member member, Command cmd)
           
  ResultImpl(Member member, Command cmd, java.lang.Exception e)
           
  ResultImpl(Member member, Command cmd, java.io.Reader out, java.io.Reader err)
           
 
Method Summary
 Command getCommand()
           
 java.lang.String getError()
           
 java.lang.Exception getException()
           
 Member getMember()
           
 java.lang.String getOutput()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultImpl

protected ResultImpl(Member member,
                     Command cmd)

ResultImpl

public ResultImpl(Member member,
                  Command cmd,
                  java.lang.Exception e)

ResultImpl

public ResultImpl(Member member,
                  Command cmd,
                  java.io.Reader out,
                  java.io.Reader err)
           throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getOutput

public java.lang.String getOutput()
Specified by:
getOutput in interface Result

getError

public java.lang.String getError()
Specified by:
getError in interface Result

getException

public java.lang.Exception getException()
Specified by:
getException in interface Result

getCommand

public Command getCommand()
Specified by:
getCommand in interface Result

getMember

public Member getMember()
Specified by:
getMember in interface Result


Copyright © 2005 . All Rights Reserved.