public class CoreEventImpl extends Object implements CoreEvent
Modifier and Type | Field and Description |
---|---|
protected String |
category |
static String |
CATEGORY_ATTRIBUTE |
protected String |
comment |
static String |
COMMENT_ATTRIBUTE |
protected Date |
date |
protected String |
eventId |
protected Map<String,?> |
info |
protected Principal |
principal |
protected Object |
source |
Constructor and Description |
---|
CoreEventImpl(String eventId,
Object source,
Map<String,?> info,
Principal principal,
String category,
String comment) |
Modifier and Type | Method and Description |
---|---|
String |
getCategory()
Returns the event category.
|
String |
getComment()
Returns the associated event comment.
|
Date |
getDate()
Returns the date when the event occurred.
|
String |
getEventId()
Returns the event identifier.
|
Map<String,?> |
getInfo()
Returns the information attached to the event.
|
List<CoreEvent> |
getNestedEvents() |
Principal |
getPrincipal()
Returns the principal responsible for this event.
|
Object |
getSource()
Returns the source object that originated the event.
|
boolean |
isComposite() |
String |
toString() |
public static final String COMMENT_ATTRIBUTE
public static final String CATEGORY_ATTRIBUTE
public boolean isComposite()
public List<CoreEvent> getNestedEvents()
public String getEventId()
CoreEvent
getEventId
in interface CoreEvent
public Map<String,?> getInfo()
CoreEvent
public Object getSource()
CoreEvent
public String getCategory()
CoreEvent
getCategory
in interface CoreEvent
public String getComment()
CoreEvent
getComment
in interface CoreEvent
public Date getDate()
CoreEvent
public Principal getPrincipal()
CoreEvent
getPrincipal
in interface CoreEvent
Copyright © 2015 Nuxeo SA. All rights reserved.