public class WebResult extends Object
Modifier and Type | Field and Description |
---|---|
static WebResult |
OK |
static String |
STRING_ERROR |
static String |
STRING_OK |
static String |
XML_TAG |
Constructor and Description |
---|
WebResult(Node webResultNode) |
WebResult(String result) |
WebResult(String result,
String message) |
WebResult(String result,
String message,
String id) |
Modifier and Type | Method and Description |
---|---|
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() |
public static final String XML_TAG
public static final String STRING_OK
public static final String STRING_ERROR
public static final WebResult OK
public WebResult(String result)
public WebResult(Node webResultNode)
public String getXML()
public String getResult()
public void setResult(String result)
public String getMessage()
public void setMessage(String message)
public static WebResult fromXMLString(String xml) throws KettleXMLException
KettleXMLException
public String getId()
public void setId(String id)
id
- the id to setCopyright © 2018 Hitachi Vantara. All rights reserved.