public class NoOpAttachmentFileStoreProvider extends Object implements AttachmentFileStoreProvider
AttachmentFileStoreProvider
that is only used when Jira fails to create a valid file store provider for
attachments. Jira will fail on startup if this is the case, but some implementation is required for other
components to be initialized correctly, in order to display the startup error.Constructor and Description |
---|
NoOpAttachmentFileStoreProvider() |
Modifier and Type | Method and Description |
---|---|
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.
|
boolean |
isStoreInJiraHome()
Indicates whether the file store is somewhere within the Jira home directory.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
initializeFileStore
@Nonnull public com.atlassian.dc.filestore.api.FileStore.Path getBasePath()
FileStoreProvider
getBasePath
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.@Nonnull public FileStoreAnalyticInfo getFileStoreAnalyticInfo()
AttachmentFileStoreProvider
getFileStoreAnalyticInfo
in interface AttachmentFileStoreProvider
Copyright © 2002-2024 Atlassian. All Rights Reserved.