org.gcube.messaging.common.messages
Class GHNMessage<TEST extends Test>

java.lang.Object
  extended by org.gcube.common.core.monitoring.GCUBEMessage
      extended by org.gcube.messaging.common.messages.GHNMessage<TEST>
All Implemented Interfaces:
Serializable

public class GHNMessage<TEST extends Test>
extends org.gcube.common.core.monitoring.GCUBEMessage

Models a GHN Message

Author:
Andrea Manzi(CERN)
See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.gcube.common.core.monitoring.GCUBEMessage
org.gcube.common.core.monitoring.GCUBEMessage.ResultType
 
Field Summary
static String GHN
          topic base
 
Fields inherited from class org.gcube.common.core.monitoring.GCUBEMessage
DATE_FORMAT_NOW, result, scope, sourceGHN, time, topic
 
Constructor Summary
GHNMessage()
           
GHNMessage(String ghnName, org.gcube.common.core.scope.GCUBEScope VO)
          build a new GHNMessage
 
Method Summary
 TEST getTest()
          get the test contained into the message
 void setTest(TEST test)
          set the test object for this message
 String toString()
          String representation
 
Methods inherited from class org.gcube.common.core.monitoring.GCUBEMessage
getResult, getScope, getSourceGHN, getTime, getTopic, setResult, setScope, setSourceGHN, setTime, setTimeNow, setTopic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

GHN

public static final String GHN
topic base

See Also:
Constant Field Values
Constructor Detail

GHNMessage

public GHNMessage()

GHNMessage

public GHNMessage(String ghnName,
                  org.gcube.common.core.scope.GCUBEScope VO)
build a new GHNMessage

Parameters:
ghnName - the ghnname
VO - the vo
Method Detail

getTest

public TEST getTest()
get the test contained into the message

Returns:
the test

setTest

public void setTest(TEST test)
set the test object for this message

Parameters:
test - the test

toString

public String toString()
String representation

Overrides:
toString in class Object


Copyright © 2013. All Rights Reserved.