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()
CoreEventgetEventId in interface CoreEventpublic Map<String,?> getInfo()
CoreEventpublic Object getSource()
CoreEventpublic String getCategory()
CoreEventgetCategory in interface CoreEventpublic String getComment()
CoreEventgetComment in interface CoreEventpublic Date getDate()
CoreEventpublic Principal getPrincipal()
CoreEventgetPrincipal in interface CoreEventCopyright © 2016 Nuxeo SA. All rights reserved.