cisco.uc.cuae
Class EtchBridge.EventMessage

java.lang.Object
  extended by cisco.uc.cuae.EtchBridge.EventMessage
All Implemented Interfaces:
java.io.Serializable
Enclosing interface:
EtchBridge

public static class EtchBridge.EventMessage
extends java.lang.Object
implements java.io.Serializable

Type definition for parameter of each plugin's onNotHandled method

See Also:
Serialized Form

Field Summary
 java.lang.String appName
          AppName set in the event message
 java.lang.String eventId
          the fully qualified name of the event, i.e., plugin namespace + event name
 java.util.Map fields
          key=string / value=objectthese would be every argument sent up in the original event
 java.lang.String partitionName
          PartitionName set in the event message
 java.lang.String scriptName
          ScriptName set in the event message
 java.lang.String sessionId
          the sessionId sent up by the plugin
 java.lang.Boolean suppressNoHandler
          indicates whether to suppress no handler
 
Constructor Summary
EtchBridge.EventMessage()
          Constructs the EventMessage.
EtchBridge.EventMessage(java.lang.String sessionId, java.lang.String eventId, java.util.Map fields, java.lang.String appName, java.lang.String partitionName, java.lang.String scriptName, java.lang.Boolean suppressNoHandler)
          Constructs the EventMessage.
 
Method Summary
 java.lang.String getAppName()
          Gets the value.
 java.lang.String getEventId()
          Gets the value.
 java.util.Map getFields()
          Gets the value.
 java.lang.String getPartitionName()
          Gets the value.
 java.lang.String getScriptName()
          Gets the value.
 java.lang.String getSessionId()
          Gets the value.
 java.lang.Boolean getSuppressNoHandler()
          Gets the value.
 void setAppName(java.lang.String value)
          Sets the value.
 void setEventId(java.lang.String value)
          Sets the value.
 void setFields(java.util.Map value)
          Sets the value.
 void setPartitionName(java.lang.String value)
          Sets the value.
 void setScriptName(java.lang.String value)
          Sets the value.
 void setSessionId(java.lang.String value)
          Sets the value.
 void setSuppressNoHandler(java.lang.Boolean value)
          Sets the value.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

sessionId

public java.lang.String sessionId
the sessionId sent up by the plugin


eventId

public java.lang.String eventId
the fully qualified name of the event, i.e., plugin namespace + event name


fields

public java.util.Map fields
key=string / value=objectthese would be every argument sent up in the original event


appName

public java.lang.String appName
AppName set in the event message


partitionName

public java.lang.String partitionName
PartitionName set in the event message


scriptName

public java.lang.String scriptName
ScriptName set in the event message


suppressNoHandler

public java.lang.Boolean suppressNoHandler
indicates whether to suppress no handler

Constructor Detail

EtchBridge.EventMessage

public EtchBridge.EventMessage()
Constructs the EventMessage. Don't init any fields.


EtchBridge.EventMessage

public EtchBridge.EventMessage(java.lang.String sessionId,
                               java.lang.String eventId,
                               java.util.Map fields,
                               java.lang.String appName,
                               java.lang.String partitionName,
                               java.lang.String scriptName,
                               java.lang.Boolean suppressNoHandler)
Constructs the EventMessage.

Parameters:
sessionId - the sessionId sent up by the plugin
eventId - the fully qualified name of the event, i.e., plugin namespace + event name
fields - key=string / value=objectthese would be every argument sent up in the original event
appName - AppName set in the event message
partitionName - PartitionName set in the event message
scriptName - ScriptName set in the event message
suppressNoHandler - indicates whether to suppress no handler
Method Detail

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

getSessionId

public java.lang.String getSessionId()
Gets the value. the sessionId sent up by the plugin

Returns:
the value.

setSessionId

public void setSessionId(java.lang.String value)
Sets the value. the sessionId sent up by the plugin

Parameters:
value - the value.

getEventId

public java.lang.String getEventId()
Gets the value. the fully qualified name of the event, i.e., plugin namespace + event name

Returns:
the value.

setEventId

public void setEventId(java.lang.String value)
Sets the value. the fully qualified name of the event, i.e., plugin namespace + event name

Parameters:
value - the value.

getFields

public java.util.Map getFields()
Gets the value. key=string / value=objectthese would be every argument sent up in the original event

Returns:
the value.

setFields

public void setFields(java.util.Map value)
Sets the value. key=string / value=objectthese would be every argument sent up in the original event

Parameters:
value - the value.

getAppName

public java.lang.String getAppName()
Gets the value. AppName set in the event message

Returns:
the value.

setAppName

public void setAppName(java.lang.String value)
Sets the value. AppName set in the event message

Parameters:
value - the value.

getPartitionName

public java.lang.String getPartitionName()
Gets the value. PartitionName set in the event message

Returns:
the value.

setPartitionName

public void setPartitionName(java.lang.String value)
Sets the value. PartitionName set in the event message

Parameters:
value - the value.

getScriptName

public java.lang.String getScriptName()
Gets the value. ScriptName set in the event message

Returns:
the value.

setScriptName

public void setScriptName(java.lang.String value)
Sets the value. ScriptName set in the event message

Parameters:
value - the value.

getSuppressNoHandler

public java.lang.Boolean getSuppressNoHandler()
Gets the value. indicates whether to suppress no handler

Returns:
the value.

setSuppressNoHandler

public void setSuppressNoHandler(java.lang.Boolean value)
Sets the value. indicates whether to suppress no handler

Parameters:
value - the value.


Copyright © 2009. All Rights Reserved.