Package com.atlassian.jira.filestore
Class FileSystemAttachmentFileStoreProvider
java.lang.Object
com.atlassian.jira.filestore.FileSystemAttachmentFileStoreProvider
- All Implemented Interfaces:
AttachmentFileStoreProvider,FileStoreProvider
public class FileSystemAttachmentFileStoreProvider
extends Object
implements AttachmentFileStoreProvider
Attachment file store provider for when attachments are stored on the file system.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns theFileStoreAssociationTargetthat this provider is associated with.com.atlassian.dc.filestore.api.FileStore.PathFetches the base file store path.Fetches the Analytic info about file store for attachmentsReturns information that describes the file store config.booleanIndicates whether the file store is somewhere within the Jira home directory.
-
Constructor Details
-
FileSystemAttachmentFileStoreProvider
-
-
Method Details
-
getBasePath
@Nonnull public com.atlassian.dc.filestore.api.FileStore.Path getBasePath()Description copied from interface:FileStoreProviderFetches the base file store path.- Specified by:
getBasePathin interfaceFileStoreProvider- Returns:
- see description
-
getFileStoreAnalyticInfo
Description copied from interface:AttachmentFileStoreProviderFetches the Analytic info about file store for attachments- Specified by:
getFileStoreAnalyticInfoin interfaceAttachmentFileStoreProvider- Specified by:
getFileStoreAnalyticInfoin interfaceFileStoreProvider- Returns:
- FileStoreAnalyticInfo
-
isStoreInJiraHome
public boolean isStoreInJiraHome()Description copied from interface:FileStoreProviderIndicates whether the file store is somewhere within the Jira home directory.- Specified by:
isStoreInJiraHomein interfaceFileStoreProvider- Returns:
- see description
-
getInformation
Description copied from interface:FileStoreProviderReturns information that describes the file store config.- Specified by:
getInformationin interfaceFileStoreProvider- Returns:
- a
FileStoreInformationinstance 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.
-
getAssociationTarget
Description copied from interface:FileStoreProviderReturns theFileStoreAssociationTargetthat this provider is associated with.- Specified by:
getAssociationTargetin interfaceFileStoreProvider- Returns:
- FileStoreAssociationTarget
-