org.addsimplicity.anicetus.entity
Class TelemetryEvent

java.lang.Object
  extended by org.addsimplicity.anicetus.entity.GlobalInfo
      extended by org.addsimplicity.anicetus.entity.TelemetryEvent
All Implemented Interfaces:
java.util.Map<java.lang.String,java.lang.Object>

public class TelemetryEvent
extends GlobalInfo

An event is something that occurs of significance during the execution of the application. The TelemetryEvent is used to capture this and publish it on the bus. Events may be contained by a parent session or transaction or may be stand alone.

Author:
Dan Pritchett (driveawedge@yahoo.com)

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
java.util.Map.Entry<K,V>
 
Constructor Summary
TelemetryEvent()
          Construct an event without a parent.
TelemetryEvent(GlobalInfo parent)
          Construct an event with the specified artifact as the parent.
 
Method Summary
 java.lang.String getType()
          The type of the event is an arbitrary name specified by the application.
 void setType(java.lang.String type)
          The type of the event is an arbitrary name specified by the application.
 
Methods inherited from class org.addsimplicity.anicetus.entity.GlobalInfo
clear, containsKey, containsValue, entrySet, equals, get, getEntityId, getExecutionContext, getMessage, getParentId, getReportingNode, getTimeStamp, hashCode, isEmpty, keySet, put, putAll, remove, setEntityId, setExceptionAsMessage, setExecutionContext, setMessage, setParentId, setReportingNode, setTimeStamp, size, values
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TelemetryEvent

public TelemetryEvent()
Construct an event without a parent.


TelemetryEvent

public TelemetryEvent(GlobalInfo parent)
Construct an event with the specified artifact as the parent.

Parameters:
parent - The artifact that is the parent of the new event.
Method Detail

getType

public java.lang.String getType()
The type of the event is an arbitrary name specified by the application.

Returns:
the event type.

setType

public void setType(java.lang.String type)
The type of the event is an arbitrary name specified by the application.

Parameters:
type - The event type.


Copyright © 2009 Add Simplicity. All Rights Reserved.