public class BackupResource extends Object
Constructor and Description |
---|
BackupResource(BackupController controller) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
createBackup(String fileName)
Creates manual backup
|
BackupConfigurationEntity |
getBackupConfiguration()
Returns backup configuration
|
BackupSummaryEntity |
getBackupInformation()
Returns backup summary
|
javax.ws.rs.core.Response |
saveBackupConfiguration(BackupConfigurationEntity configurationEntity)
Saves backup configuration
|
public BackupResource(BackupController controller)
public BackupConfigurationEntity getBackupConfiguration()
public javax.ws.rs.core.Response saveBackupConfiguration(BackupConfigurationEntity configurationEntity)
configurationEntity
- An entity with configuration of backuppublic BackupSummaryEntity getBackupInformation()
public javax.ws.rs.core.Response createBackup(String fileName)
fileName
- Name of the backup fileCopyright © 2020 Atlassian. All rights reserved.