public class FileSystemAttachmentFileStoreProvider extends Object implements AttachmentFileStoreProvider
Constructor and Description |
---|
FileSystemAttachmentFileStoreProvider(ApplicationProperties applicationProperties,
FileStores fileStores) |
Modifier and Type | Method and Description |
---|---|
FileStoreAssociationTarget |
getAssociationTarget()
Returns the
FileStoreAssociationTarget that this provider is associated with. |
com.atlassian.dc.filestore.api.FileStore.Path |
getBasePath()
Fetches the base file store path.
|
FileStoreAnalyticInfo |
getFileStoreAnalyticInfo()
Fetches the Analytic info about file store for attachments
|
FileStoreInformation |
getInformation()
Returns information that describes the file store config.
|
void |
initializeFileStore()
Run when attachments were disabled and are re-enabled from the attachment settings page.
|
boolean |
isStoreInJiraHome()
Indicates whether the file store is somewhere within the Jira home directory.
|
public FileSystemAttachmentFileStoreProvider(ApplicationProperties applicationProperties, FileStores fileStores)
@Nonnull public com.atlassian.dc.filestore.api.FileStore.Path getBasePath()
FileStoreProvider
getBasePath
in interface FileStoreProvider
public void initializeFileStore()
AttachmentFileStoreProvider
initializeFileStore
in interface AttachmentFileStoreProvider
@Nonnull public FileStoreAnalyticInfo getFileStoreAnalyticInfo()
AttachmentFileStoreProvider
getFileStoreAnalyticInfo
in interface AttachmentFileStoreProvider
getFileStoreAnalyticInfo
in interface FileStoreProvider
public boolean isStoreInJiraHome()
FileStoreProvider
isStoreInJiraHome
in interface FileStoreProvider
public FileStoreInformation getInformation()
FileStoreProvider
getInformation
in interface FileStoreProvider
FileStoreInformation
instance that can be used by the
JIRA.Templates.Admin.Jira.FileStoreInformation.fileStoreInformation soy template to present information
about the file store in the admin UI.public FileStoreAssociationTarget getAssociationTarget()
FileStoreProvider
FileStoreAssociationTarget
that this provider is associated with.getAssociationTarget
in interface FileStoreProvider
Copyright © 2002-2024 Atlassian. All Rights Reserved.