public final class CommentingEvent extends Object
CommentingEvent
represents events occurred during commentingModifier and Type | Class and Description |
---|---|
static class |
CommentingEvent.Type
types of commenting events
|
Modifier and Type | Field and Description |
---|---|
static String |
EVENT_TOPIC_BASE
Base Event Topic for Commenting Events.
|
Constructor and Description |
---|
CommentingEvent(CommentingEvent.Type eventTopic,
String commentPath) |
Modifier and Type | Method and Description |
---|---|
static CommentingEvent |
commented(String commentPath)
creates an event for Type.COMMENTED
|
static CommentingEvent |
fromEvent(org.osgi.service.event.Event event)
convert OSGI event to
CommentingEvent |
String |
getCommentPath() |
String |
getEventTopic() |
org.osgi.service.event.Event |
toEvent()
Create a distributable event.
|
public static final String EVENT_TOPIC_BASE
public CommentingEvent(CommentingEvent.Type eventTopic, String commentPath)
public static CommentingEvent fromEvent(org.osgi.service.event.Event event)
CommentingEvent
event
- OSGI eventpublic String getCommentPath()
public String getEventTopic()
public static CommentingEvent commented(String commentPath)
commentPath
- path of the comment nodepublic org.osgi.service.event.Event toEvent()
"Copyright © 2006 - 2015 Adobe Systems Incorporated. All Rights Reserved"