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(Event event)
convert OSGI event to
CommentingEvent |
String |
getCommentPath() |
String |
getEventTopic() |
Event |
toEvent()
Create a distributable event.
|
public static final String EVENT_TOPIC_BASE
public CommentingEvent(CommentingEvent.Type eventTopic, String commentPath)
public static CommentingEvent fromEvent(Event event)
CommentingEvent
event
- OSGI eventpublic String getCommentPath()
public String getEventTopic()
public static CommentingEvent commented(String commentPath)
commentPath
- path of the comment nodepublic Event toEvent()
Copyright © 2010 - 2020 Adobe. All Rights Reserved