Class AttachmentEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.attachment.AttachmentEvent
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AttachmentDeletedEvent
,AttachmentDeletionRequestedEvent
,AttachmentSavedEvent
,AttachmentSaveRequestedEvent
Base type for all attachment related events.
- Since:
- 7.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ModifierConstructorDescriptionprotected
AttachmentEvent
(Object source, Repository repository, Attachment attachment) Construct a newAttachmentEvent
. -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AttachmentEvent
protected AttachmentEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Attachment attachment) Construct a newAttachmentEvent
.- Parameters:
source
- the component raising the eventrepository
- the repositoryattachment
- the attachment
-
-
Method Details
-
getAttachment
-
getRepository
-