@PublicApi
public interface AttachmentConfigManager
| Modifier and Type | Method and Description |
|---|---|
ExtensionRestrictionMode |
getExtensionRestrictionMode()
Indicates mode of restricting attachments by file extension.
|
String |
getFilteredFileExtensions()
Returns a comma-separated list of file extensions to be used for the selected
ExtensionRestrictionMode. |
long |
getMaxAttachmentSize()
Gets the maximum upload size for attachments.
|
File |
getTemporaryAttachmentDirectory()
Returns the directory for temporary attachments.
|
boolean |
isAttachmentsDownloadableAsZip()
Indicates whether attachments can be downloaded as ZIP files.
|
boolean |
isAttachmentsEnabled()
Indicates whether attachments are enabled.
|
boolean |
isFilterFilesWithoutExtensions()
Indicates whether files without extensions should be included for the selected
ExtensionRestrictionMode. |
boolean |
isThumbnailsEnabled()
Indicates whether attachment thumbnails should be shown.
|
boolean isAttachmentsEnabled()
boolean isThumbnailsEnabled()
long getMaxAttachmentSize()
boolean isAttachmentsDownloadableAsZip()
File getTemporaryAttachmentDirectory()
ExtensionRestrictionMode getExtensionRestrictionMode()
String getFilteredFileExtensions()
ExtensionRestrictionMode.boolean isFilterFilesWithoutExtensions()
ExtensionRestrictionMode.Copyright © 2002-2024 Atlassian. All Rights Reserved.