@TransactionAware public class AttachmentEvent extends ApplicationEvent
source
Modifier | Constructor and Description |
---|---|
protected |
AttachmentEvent(Object source,
Repository repository,
Attachment attachment)
Construct a new
AttachmentEvent . |
Modifier and Type | Method and Description |
---|---|
Attachment |
getAttachment() |
Repository |
getRepository() |
getDate, getUser
getSource, toString
protected AttachmentEvent(@Nonnull Object source, @Nonnull Repository repository, @Nonnull Attachment attachment)
AttachmentEvent
.source
- the component raising the eventrepository
- the repositoryattachment
- the attachment@Nonnull public Attachment getAttachment()
@Nonnull public Repository getRepository()
Copyright © 2020 Atlassian. All rights reserved.