Interface FileStores

All Known Implementing Classes:
JiraHomeFileStores

@ReturnValuesAreNonnullByDefault public interface FileStores
Provides access to various FileStore
  • Method Summary

    Modifier and Type
    Method
    Description
    com.atlassian.dc.filestore.api.compat.FilesystemPath
    Returns the path of the backups directory.
    com.atlassian.dc.filestore.api.compat.FilesystemPath
    Returns the path of the export directory.
    com.atlassian.dc.filestore.api.compat.FilesystemPath
    This should only be used if you specifically need access to the underlying Path API via the FilesystemAccess.asJavaPath() or FilesystemAccess.asJavaFile() methods.
    default com.atlassian.dc.filestore.api.FileStore.Path
     
    com.atlassian.dc.filestore.api.compat.FilesystemPath
    Returns the path of the import attachments directory.
    com.atlassian.dc.filestore.api.compat.FilesystemPath
    Returns the path of the import directory.
    com.atlassian.dc.filestore.api.compat.FilesystemPath
     
    com.atlassian.dc.filestore.api.compat.FilesystemPath
    Returns the path of the local-home directory.
    com.atlassian.dc.filestore.api.compat.FilesystemPath
    Returns the path of the export directory.
  • Method Details

    • getHomePath

      default com.atlassian.dc.filestore.api.FileStore.Path getHomePath()
      Returns:
      A FileStore.Path representing the root of the Jira home directory.
    • getHomeFilesystemPath

      com.atlassian.dc.filestore.api.compat.FilesystemPath getHomeFilesystemPath()
      This should only be used if you specifically need access to the underlying Path API via the FilesystemAccess.asJavaPath() or FilesystemAccess.asJavaFile() methods.
      Returns:
      A FilesystemPath representing the root of the Jira home directory.
    • getLocalHomeFilesystemPath

      com.atlassian.dc.filestore.api.compat.FilesystemPath getLocalHomeFilesystemPath()
      Returns the path of the local-home directory.
    • getLogPath

      com.atlassian.dc.filestore.api.compat.FilesystemPath getLogPath()
      Returns the path of the export directory.
    • getExportPath

      com.atlassian.dc.filestore.api.compat.FilesystemPath getExportPath()
      Returns the path of the export directory.
    • getExportBackupsPath

      com.atlassian.dc.filestore.api.compat.FilesystemPath getExportBackupsPath()
      Returns the path of the backups directory.
    • getImportPath

      com.atlassian.dc.filestore.api.compat.FilesystemPath getImportPath()
      Returns the path of the import directory.
    • getImportAttachmentsPath

      com.atlassian.dc.filestore.api.compat.FilesystemPath getImportAttachmentsPath()
      Returns the path of the import attachments directory.
    • getIndexSnapshotsPath

      com.atlassian.dc.filestore.api.compat.FilesystemPath getIndexSnapshotsPath()