public final class CommentingEvent
extends java.lang.Object
CommentingEvent represents events occurred during commenting| Modifier 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(org.osgi.service.event.Event event)
convert OSGI event to
CommentingEvent |
java.lang.String |
getCommentPath() |
java.lang.String |
getEventTopic() |
org.osgi.service.event.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(org.osgi.service.event.Event event)
CommentingEventevent - 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 org.osgi.service.event.Event toEvent()
Copyright © 2010 - 2023 Adobe. All Rights Reserved