@PublicApi
public interface AttachmentPathManager
Modifier and Type | Interface and Description |
---|---|
static class |
AttachmentPathManager.Mode |
static class |
AttachmentPathManager.PropertiesAdaptor
Implementation of
AttachmentPathManager that uses the ApplicationProperties to get the current paths. |
Modifier and Type | Field and Description |
---|---|
static String |
ATTACHMENTS_DIR |
Modifier and Type | Method and Description |
---|---|
void |
disableAttachments()
Turns "Allow Attachments" to off.
|
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() |
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()
void disableAttachments()
AttachmentPathManager.Mode getMode()
Copyright © 2002-2017 Atlassian. All Rights Reserved.