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.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 underlyingPath
API via theFilesystemAccess.asJavaPath()
orFilesystemAccess.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
-
-
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 underlyingPath
API via theFilesystemAccess.asJavaPath()
orFilesystemAccess.asJavaFile()
methods.- Specified by:
getHomeFilesystemPath
in interfaceFileStores
- 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 interfaceFileStores
-
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 interfaceFileStores
-
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 interfaceFileStores
-
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 interfaceFileStores
-
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 interfaceFileStores
-
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 interfaceFileStores
-
getIndexSnapshotsPath
public com.atlassian.dc.filestore.api.compat.FilesystemPath getIndexSnapshotsPath()- Specified by:
getIndexSnapshotsPath
in interfaceFileStores
-