Package com.atlassian.jira.imports.xml
Class BackupPathProvider
java.lang.Object
com.atlassian.jira.imports.xml.BackupPathProvider
Provides the path where backup files are stored.
- Since:
- 9.15
-
Constructor Summary
ConstructorsConstructorDescriptionBackupPathProvider(FeatureManager featureManager, BackupFileStoreProvider backupFileStoreProvider, FileStores fileStores) -
Method Summary
Modifier and TypeMethodDescriptionbooleanboolean
-
Constructor Details
-
BackupPathProvider
public BackupPathProvider(FeatureManager featureManager, BackupFileStoreProvider backupFileStoreProvider, FileStores fileStores)
-
-
Method Details
-
getBackupPath
-
getS3FileStoreConfig
- Returns:
- the S3 file store configuration if feature flag is enabled and the backup file store provider is an instance of
S3BackupFileStoreProvider
-
isS3InUse
public boolean isS3InUse()- Returns:
- true if backup file will be stored in S3
-
isFileStoreFullyConfigured
public boolean isFileStoreFullyConfigured()
-