sjavatrack
Class CommandOutput

java.lang.Object
  extended by sjavatrack.CommandOutput
All Implemented Interfaces:
java.io.Serializable

public class CommandOutput
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Constructor Summary
CommandOutput(boolean toFile, java.lang.String filename, java.lang.String response)
          Generates a new CommandOutput
 
Method Summary
 java.lang.String getFilename()
           
 java.lang.String getResponse()
           
 boolean isToFile()
           
 void setFilename(java.lang.String filename)
           
 void setResponse(java.lang.String response)
           
 void setToFile(boolean toFile)
           
 java.lang.String toXML()
          Returns a XML that contains the object values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CommandOutput

public CommandOutput(boolean toFile,
                     java.lang.String filename,
                     java.lang.String response)
Generates a new CommandOutput

Parameters:
toFile -
filename -
response -
Method Detail

toXML

public java.lang.String toXML()
Returns a XML that contains the object values

Returns:
a String that contains the XML

isToFile

public boolean isToFile()
Returns:
the toFile

getFilename

public java.lang.String getFilename()
Returns:
the filename

getResponse

public java.lang.String getResponse()
Returns:
the response

setToFile

public void setToFile(boolean toFile)
Parameters:
toFile - the toFile to set

setFilename

public void setFilename(java.lang.String filename)
Parameters:
filename - the filename to set

setResponse

public void setResponse(java.lang.String response)
Parameters:
response - the response to set