Groovy Documentation

org.grails.plugin.platform.events
[Java] Class EventMessage

java.lang.Object
  org.grails.plugin.platform.events.EventMessage
All Implemented Interfaces:
java.io.Serializable

public class EventMessage

file:
@date 30/12/11
section:
DESCRIPTION

[Does stuff]

Authors:
Stephane Maldini
Version:
1.0


Field Summary
private D data

private java.lang.String event

private java.lang.Boolean gormSession

private java.util.Map headers

private java.lang.String namespace

 
Constructor Summary
EventMessage(java.lang.String event, D data)

EventMessage(java.lang.String event, D data, java.lang.String namespace)

EventMessage(java.lang.String event, D data, java.lang.String namespace, boolean gormSession)

EventMessage(java.lang.String event, D data, java.lang.String namespace, boolean gormSession, java.util.Map headers)

 
Method Summary
D getData()

java.lang.String getEvent()

java.util.Map getHeaders()

java.lang.String getNamespace()

boolean isGormSession()

 
Methods inherited from class java.lang.Object
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()
 

Field Detail

data

private final D data


event

private final java.lang.String event


gormSession

private final java.lang.Boolean gormSession


headers

private final java.util.Map headers


namespace

private final java.lang.String namespace


 
Constructor Detail

EventMessage

public EventMessage(java.lang.String event, D data)


EventMessage

public EventMessage(java.lang.String event, D data, java.lang.String namespace)


EventMessage

public EventMessage(java.lang.String event, D data, java.lang.String namespace, boolean gormSession)


EventMessage

public EventMessage(java.lang.String event, D data, java.lang.String namespace, boolean gormSession, java.util.Map headers)


 
Method Detail

getData

public D getData()


getEvent

public java.lang.String getEvent()


getHeaders

public java.util.Map getHeaders()


getNamespace

public java.lang.String getNamespace()


isGormSession

public boolean isGormSession()


 

Groovy Documentation