org.testng.remote.strprotocol
Class GenericMessage

java.lang.Object  extended by 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


Field Summary
protected  intm_messageType
           
 
Constructor Summary
GenericMessage(int type)
           
 
Method Summary
 GenericMessageaddProperty(String propName, int propValue)
           
 StringgetMessageAsString()
           
 intgetSuiteCount()
           
 intgetTestCount()
           
 voidsetSuiteCount(int suiteCount)
           
 voidsetTestCount(int testCount)
           
 StringtoString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

m_messageType

protected final int m_messageType
Constructor Detail

GenericMessage

public GenericMessage(int type)
Method Detail

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.


NOTHING
NOTHING
Add the Maven Dependecy to your project: maven dependecy for com.amazonaws : aws-java-sdk : 1.3.14