public final class CommentingEvent
extends java.lang.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 java.lang.String |
EVENT_TOPIC_BASE
Base Event Topic for Commenting Events.
|
Constructor and Description |
---|
CommentingEvent(CommentingEvent.Type eventTopic,
java.lang.String commentPath) |
Modifier and Type | Method and Description |
---|---|
static CommentingEvent |
commented(java.lang.String commentPath)
creates an event for Type.COMMENTED
|
static CommentingEvent |
fromEvent(Event event)
convert OSGI event to
CommentingEvent |
java.lang.String |
getCommentPath() |
java.lang.String |
getEventTopic() |
Event |
toEvent()
Create a distributable event.
|
public static final java.lang.String EVENT_TOPIC_BASE
public CommentingEvent(CommentingEvent.Type eventTopic, java.lang.String commentPath)
public static CommentingEvent fromEvent(Event event)
CommentingEvent
event
- OSGI eventpublic java.lang.String getCommentPath()
public java.lang.String getEventTopic()
public static CommentingEvent commented(java.lang.String commentPath)
commentPath
- path of the comment nodepublic Event toEvent()
Copyright © 2010 - 2020 Adobe. All Rights Reserved