Package com.atlassian.jira.config.util
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 -
Method Summary
Modifier and TypeMethodDescriptioncom.atlassian.dc.filestore.api.compat.FilesystemPathReturns the path of the backups directory.com.atlassian.dc.filestore.api.compat.FilesystemPathReturns the path of the export directory.com.atlassian.dc.filestore.api.compat.FilesystemPathThis should only be used if you specifically need access to the underlyingPathAPI via theFilesystemAccess.asJavaPath()orFilesystemAccess.asJavaFile()methods.com.atlassian.dc.filestore.api.compat.FilesystemPathReturns the path of the import attachments directory.com.atlassian.dc.filestore.api.compat.FilesystemPathReturns the path of the import directory.com.atlassian.dc.filestore.api.compat.FilesystemPathcom.atlassian.dc.filestore.api.compat.FilesystemPathReturns the path of the local-home directory.com.atlassian.dc.filestore.api.compat.FilesystemPathReturns the path of the export directory.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.jira.config.util.FileStores
getHomePath
-
Constructor Details
-
JiraHomeFileStores
-
-
Method Details
-
getHomeFilesystemPath
public com.atlassian.dc.filestore.api.compat.FilesystemPath getHomeFilesystemPath()Description copied from interface:FileStoresThis should only be used if you specifically need access to the underlyingPathAPI via theFilesystemAccess.asJavaPath()orFilesystemAccess.asJavaFile()methods.- Specified by:
getHomeFilesystemPathin interfaceFileStores- Returns:
- A
FilesystemPathrepresenting the root of the Jira home directory.
-
getLocalHomeFilesystemPath
public com.atlassian.dc.filestore.api.compat.FilesystemPath getLocalHomeFilesystemPath()Description copied from interface:FileStoresReturns the path of the local-home directory.- Specified by:
getLocalHomeFilesystemPathin interfaceFileStores
-
getLogPath
public com.atlassian.dc.filestore.api.compat.FilesystemPath getLogPath()Description copied from interface:FileStoresReturns the path of the export directory.- Specified by:
getLogPathin interfaceFileStores
-
getExportPath
public com.atlassian.dc.filestore.api.compat.FilesystemPath getExportPath()Description copied from interface:FileStoresReturns the path of the export directory.- Specified by:
getExportPathin interfaceFileStores
-
getExportBackupsPath
public com.atlassian.dc.filestore.api.compat.FilesystemPath getExportBackupsPath()Description copied from interface:FileStoresReturns the path of the backups directory.- Specified by:
getExportBackupsPathin interfaceFileStores
-
getImportPath
public com.atlassian.dc.filestore.api.compat.FilesystemPath getImportPath()Description copied from interface:FileStoresReturns the path of the import directory.- Specified by:
getImportPathin interfaceFileStores
-
getImportAttachmentsPath
public com.atlassian.dc.filestore.api.compat.FilesystemPath getImportAttachmentsPath()Description copied from interface:FileStoresReturns the path of the import attachments directory.- Specified by:
getImportAttachmentsPathin interfaceFileStores
-
getIndexSnapshotsPath
public com.atlassian.dc.filestore.api.compat.FilesystemPath getIndexSnapshotsPath()- Specified by:
getIndexSnapshotsPathin interfaceFileStores
-