| Package | Description |
|---|---|
| com.atlassian.bitbucket.attachment | |
| com.atlassian.bitbucket.event.attachment |
| Modifier and Type | Method and Description |
|---|---|
Attachment |
AttachmentService.getById(long attachmentId)
Get the attachment that matches the ID that is supplied.
|
Attachment |
AttachmentService.save(Repository repository,
AttachmentSupplier attachmentSupplier)
Saves the attachment contained in the provided
supplier, assigning a unique ID to
allow it to be accessed again. |
| Modifier and Type | Method and Description |
|---|---|
Attachment |
AttachmentEvent.getAttachment() |
| Constructor and Description |
|---|
AttachmentDeletedEvent(Object source,
Repository repository,
Attachment attachment)
Construct a new
AttachmentEvent. |
AttachmentDeletionRequestedEvent(Object source,
Repository repository,
Attachment attachment,
CancelState cancelState) |
AttachmentEvent(Object source,
Repository repository,
Attachment attachment)
Construct a new
AttachmentEvent. |
AttachmentSavedEvent(Object source,
Repository repository,
Attachment attachment)
Construct a new
AttachmentEvent. |
AttachmentSaveRequestedEvent(Object source,
Repository repository,
Attachment attachment,
CancelState cancelState)
Construct a new
AttachmentEvent. |
Copyright © 2023 Atlassian. All rights reserved.