public class TestData
extends java.lang.Object
The TestData class represents a single set of message data that has been recorded by the integration server when test record mode is enabled.
com.ibm.broker.config.proxy.TestData | |
Responsibilities | Represents a single set of test data. |
Internal Collaborators | None |
Change Activity: -------- ----------- ------------- ------------------------------------ Reason: Date: Originator: Comments: -------- ----------- ------------- ------------------------------------ 31175 2014-02-28 PLN v10 Release
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
copyright
IBM Copyright
|
protected java.lang.String |
name |
protected static java.lang.String |
sccsid
Version information
|
protected java.lang.String |
uuid |
Constructor and Description |
---|
TestData() |
TestData(java.lang.String name,
java.lang.String uuid)
Create a TestData Object
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getEnvironment()
Get the serialised environment as an XML string
|
org.w3c.dom.Node |
getEnvironmentNode()
Get the serialised environment as a DOM node
|
java.lang.String |
getExceptionList()
Get the serialised exception list as an XML string
|
org.w3c.dom.Node |
getExceptionListNode()
Get the serialised exception list as a DOM node
|
java.lang.String |
getLocalEnvironment()
Get the serialised local environment as an XML string
|
org.w3c.dom.Node |
getLocalEnvironmentNode()
Get the serialised local environment as a DOM node
|
java.lang.String |
getMessage()
Get the serialised message as an XML string
|
org.w3c.dom.Node |
getMessageNode()
Get the serialised message as a DOM node
|
java.lang.String |
getName()
Get the name for the TestData
|
java.lang.String |
getStatistics()
Get the serialised statistics as an XML string
|
org.w3c.dom.Node |
getStatisticsNode()
Get the serialised statistics as a DOM node
|
static java.util.List<TestData> |
getTestDataFromXML(java.lang.String xml)
Get a list of TestData objects from an xml string
|
java.lang.String |
getUuid()
Get the uuid for the TestData
|
boolean |
isInputData() |
void |
setEnvironment(org.w3c.dom.Node environment)
Sets the serialised environment for this test data
|
void |
setExceptionList(org.w3c.dom.Node exceptionList)
Sets the serialised exception list for this test data
|
void |
setLocalEnvironment(org.w3c.dom.Node localEnvironment)
Sets the serialised local environment for this test data
|
void |
setMessage(org.w3c.dom.Node message)
Sets the serialised message for this test data
|
void |
setName(java.lang.String name)
Set the name for the TestData
|
void |
setStatistics(org.w3c.dom.Node statistics)
Sets the serialised statistics for this test data
|
java.lang.String |
toString() |
protected static final java.lang.String copyright
protected static final java.lang.String sccsid
protected java.lang.String uuid
protected java.lang.String name
public TestData()
public TestData(java.lang.String name, java.lang.String uuid)
name
- uuid
- public java.lang.String getUuid()
public java.lang.String getName()
public void setName(java.lang.String name)
public void setMessage(org.w3c.dom.Node message)
message
- - A DOM node of the messagepublic java.lang.String getMessage()
public org.w3c.dom.Node getMessageNode()
public void setLocalEnvironment(org.w3c.dom.Node localEnvironment)
localEnvironment
- - A DOM node of the local environmentpublic java.lang.String getLocalEnvironment()
public org.w3c.dom.Node getLocalEnvironmentNode()
public void setEnvironment(org.w3c.dom.Node environment)
environment
- - A DOM node of the environmentpublic java.lang.String getEnvironment()
public org.w3c.dom.Node getEnvironmentNode()
public void setExceptionList(org.w3c.dom.Node exceptionList)
exceptionList
- - A DOM node of the exception listpublic java.lang.String getExceptionList()
public org.w3c.dom.Node getExceptionListNode()
public void setStatistics(org.w3c.dom.Node statistics)
statistics
- - A DOM node of the statisticspublic java.lang.String getStatistics()
public org.w3c.dom.Node getStatisticsNode()
public static java.util.List<TestData> getTestDataFromXML(java.lang.String xml)
xml
- - The xml string containing one or more 'testData' tagspublic java.lang.String toString()
toString
in class java.lang.Object
public boolean isInputData()