Class CommentEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- com.atlassian.confluence.event.events.ConfluenceEvent
-
- com.atlassian.confluence.event.events.content.ContentEvent
-
- com.atlassian.confluence.event.events.content.comment.CommentEvent
-
- All Implemented Interfaces:
Contented
,Timestamped
,Serializable
- Direct Known Subclasses:
CommentCreateEvent
,CommentRemoveEvent
,CommentUpdateEvent
public abstract class CommentEvent extends ContentEvent
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected Comment
comment
-
Fields inherited from class java.util.EventObject
source
-
-
Constructor Summary
Constructors Constructor Description CommentEvent(Object src, Comment comment)
Deprecated.since 7.1.0, useCommentEvent(Object, Comment, OperationContext)
CommentEvent(Object source, Comment comment, @Nullable OperationContext<?> context)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Comment
getComment()
ContentEntityObject
getContent()
-
Methods inherited from class com.atlassian.confluence.event.events.content.ContentEvent
equals, hashCode, isSuppressNotifications, setSuppressNotifications
-
Methods inherited from class java.util.EventObject
getSource, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.atlassian.confluence.event.events.Timestamped
getTimestamp
-
-
-
-
Field Detail
-
comment
protected Comment comment
-
-
Constructor Detail
-
CommentEvent
@Deprecated public CommentEvent(Object src, Comment comment)
Deprecated.since 7.1.0, useCommentEvent(Object, Comment, OperationContext)
-
CommentEvent
public CommentEvent(Object source, Comment comment, @Nullable OperationContext<?> context)
- Since:
- 7.1.0
-
-
Method Detail
-
getComment
public Comment getComment()
-
getContent
public ContentEntityObject getContent()
-
-