@ReturnValuesAreNonnullByDefault @ParametersAreNonnullByDefault public class AttachmentConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AttachmentConfig.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AttachmentConfig.Builder |
builder(AttachmentConfig config) |
AttachmentConfig.Builder |
copy() |
Optional<com.atlassian.dc.filestore.api.FileStore.Path> |
getAttachmentPath()
Returns a
FileStore.Path that points to the location attachments are stored. |
long |
getMaxAttachmentSize()
Gets the maximum upload size for attachments.
|
boolean |
isAttachmentsEnabled()
Indicates whether attachments are enabled.
|
boolean |
isThumbnailsEnabled()
Indicates whether attachment thumbnails should be shown.
|
boolean |
isZipSupportEnabled()
Indicates whether zip support is enabled.
|
public static AttachmentConfig.Builder builder(AttachmentConfig config)
public AttachmentConfig.Builder copy()
public Optional<com.atlassian.dc.filestore.api.FileStore.Path> getAttachmentPath()
FileStore.Path that points to the location attachments are stored.
Will be empty if attachments are disabled.public boolean isAttachmentsEnabled()
public boolean isThumbnailsEnabled()
public boolean isZipSupportEnabled()
public long getMaxAttachmentSize()
Copyright © 2002-2024 Atlassian. All Rights Reserved.