@PublicApi
@ReturnValuesAreNonnullByDefault
public interface AttachmentPathManager
Modifier and Type | Interface and Description |
---|---|
static class |
AttachmentPathManager.Mode
The modes in which the attachments path can be determined.
|
Modifier and Type | Field and Description |
---|---|
static String |
ATTACHMENTS_DIR |
Modifier and Type | Method and Description |
---|---|
void |
disableAttachments()
Deprecated.
since 9.6; use
AttachmentManager.disableAttachments() instead; to be removed in Jira 10.0.0. |
String |
getAttachmentPath()
Returns the path used to store attachments.
|
String |
getDefaultAttachmentPath()
Returns the attachment path that will be used by default if JIRA is so configured.
|
AttachmentPathManager.Mode |
getMode()
Returns the mode in which the attachments path is determined.
|
boolean |
getUseDefaultDirectory()
Returns true if attachments are stored within JIRA Home
|
void |
setCustomAttachmentPath(String indexPath)
Set a custom location to store attachments
|
void |
setUseDefaultDirectory()
Use the default location within JIRA Home to store attachments
|
static final String ATTACHMENTS_DIR
String getDefaultAttachmentPath()
String getAttachmentPath()
void setCustomAttachmentPath(String indexPath)
indexPath
- path to store attachmentsvoid setUseDefaultDirectory()
boolean getUseDefaultDirectory()
@Deprecated void disableAttachments()
AttachmentManager.disableAttachments()
instead; to be removed in Jira 10.0.0.AttachmentPathManager.Mode getMode()
Copyright © 2002-2022 Atlassian. All Rights Reserved.