org.pentaho.di.www
Class WebResult

java.lang.Object
  extended by org.pentaho.di.www.WebResult

public class WebResult
extends Object


Field Summary
static WebResult OK
           
static String STRING_ERROR
           
static String STRING_OK
           
static String XML_TAG
           
 
Constructor Summary
WebResult(Node webResultNode)
           
WebResult(String result)
           
WebResult(String result, String message)
           
WebResult(String result, String message, String id)
           
 
Method Summary
static WebResult fromXMLString(String xml)
           
 String getId()
           
 String getMessage()
           
 String getResult()
           
 String getXML()
           
 void setId(String id)
           
 void setMessage(String message)
           
 void setResult(String result)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

XML_TAG

public static final String XML_TAG
See Also:
Constant Field Values

STRING_OK

public static final String STRING_OK
See Also:
Constant Field Values

STRING_ERROR

public static final String STRING_ERROR
See Also:
Constant Field Values

OK

public static final WebResult OK
Constructor Detail

WebResult

public WebResult(String result)

WebResult

public WebResult(String result,
                 String message)

WebResult

public WebResult(String result,
                 String message,
                 String id)

WebResult

public WebResult(Node webResultNode)
Method Detail

getXML

public String getXML()

toString

public String toString()
Overrides:
toString in class Object

getResult

public String getResult()

setResult

public void setResult(String result)

getMessage

public String getMessage()

setMessage

public void setMessage(String message)

fromXMLString

public static WebResult fromXMLString(String xml)
                               throws KettleXMLException
Throws:
KettleXMLException

getId

public String getId()
Returns:
the id

setId

public void setId(String id)
Parameters:
id - the id to set