org.pentaho.di.www
Class WebResult
java.lang.Object
  
org.pentaho.di.www.WebResult
public class WebResult
- extends Object
 
 
 
 
 
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
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)
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 org.pentaho.di.core.exception.KettleXMLException
- Throws:
 org.pentaho.di.core.exception.KettleXMLException
 
getId
public String getId()
- Returns:
 - the id
 
 
setId
public void setId(String id)
- Parameters:
 id - the id to set