org.testng.remote.strprotocol
Class GenericMessage
java.lang.Object
org.testng.remote.strprotocol.GenericMessage
- All Implemented Interfaces:
- Serializable, IMessage, IStringMessage
public class GenericMessage
- extends Object
- implements IStringMessage
A generic message to be used with remote listeners.
It is described by a m_messageType
and can contain a Map
or values.
- Author:
- Alexandru Popescu
- See Also:
- Serialized Form
m_messageType
protected final int m_messageType
GenericMessage
public GenericMessage(int type)
getSuiteCount
public int getSuiteCount()
setSuiteCount
public void setSuiteCount(int suiteCount)
getTestCount
public int getTestCount()
setTestCount
public void setTestCount(int testCount)
addProperty
public GenericMessage addProperty(String propName,
int propValue)
getMessageAsString
public String getMessageAsString()
- Specified by:
getMessageAsString
in interface IStringMessage
- See Also:
net.noco.testng.runner.IStringMessage#getMessageAsString()
toString
public String toString()
- Overrides:
toString
in class Object
Copyright © 2012. All Rights Reserved.