Class JiraHomeFileStores

java.lang.Object
com.atlassian.jira.config.util.JiraHomeFileStores
All Implemented Interfaces:
FileStores

@ReturnValuesAreNonnullByDefault public class JiraHomeFileStores extends Object implements FileStores
An implementation of FileStores backed by JiraHome.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • 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.
    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.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.atlassian.jira.config.util.FileStores

    getHomePath
  • Constructor Details

    • JiraHomeFileStores

      public JiraHomeFileStores(JiraHome jiraHome)
  • Method Details

    • getHomeFilesystemPath

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

      public com.atlassian.dc.filestore.api.compat.FilesystemPath getLocalHomeFilesystemPath()
      Description copied from interface: FileStores
      Returns the path of the local-home directory.
      Specified by:
      getLocalHomeFilesystemPath in interface FileStores
    • getLogPath

      public com.atlassian.dc.filestore.api.compat.FilesystemPath getLogPath()
      Description copied from interface: FileStores
      Returns the path of the export directory.
      Specified by:
      getLogPath in interface FileStores
    • getExportPath

      public com.atlassian.dc.filestore.api.compat.FilesystemPath getExportPath()
      Description copied from interface: FileStores
      Returns the path of the export directory.
      Specified by:
      getExportPath in interface FileStores
    • getExportBackupsPath

      public com.atlassian.dc.filestore.api.compat.FilesystemPath getExportBackupsPath()
      Description copied from interface: FileStores
      Returns the path of the backups directory.
      Specified by:
      getExportBackupsPath in interface FileStores
    • getImportPath

      public com.atlassian.dc.filestore.api.compat.FilesystemPath getImportPath()
      Description copied from interface: FileStores
      Returns the path of the import directory.
      Specified by:
      getImportPath in interface FileStores
    • getImportAttachmentsPath

      public com.atlassian.dc.filestore.api.compat.FilesystemPath getImportAttachmentsPath()
      Description copied from interface: FileStores
      Returns the path of the import attachments directory.
      Specified by:
      getImportAttachmentsPath in interface FileStores
    • getIndexSnapshotsPath

      public com.atlassian.dc.filestore.api.compat.FilesystemPath getIndexSnapshotsPath()
      Specified by:
      getIndexSnapshotsPath in interface FileStores