Class AttachmentSavedEvent
java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.attachment.AttachmentEvent
com.atlassian.bitbucket.event.attachment.AttachmentSavedEvent
- All Implemented Interfaces:
Serializable
Event that is raised when an attachment is added.
- Since:
- 7.0
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
-
Constructor Summary
ConstructorDescriptionAttachmentSavedEvent
(Object source, Repository repository, Attachment attachment) Construct a newAttachmentEvent
. -
Method Summary
Methods inherited from class com.atlassian.bitbucket.event.attachment.AttachmentEvent
getAttachment, getRepository
Methods inherited from class com.atlassian.bitbucket.event.ApplicationEvent
getDate, getUser
Methods inherited from class java.util.EventObject
getSource, toString
-
Constructor Details
-
AttachmentSavedEvent
public AttachmentSavedEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Attachment attachment) Construct a newAttachmentEvent
.- Parameters:
source
- the component raising the eventrepository
- the repositoryattachment
- the attachment
-