Class BackupRestoreJob
java.lang.Object
com.atlassian.confluence.backuprestore.BackupRestoreJob
- All Implemented Interfaces:
NotExportable,Serializable
Contains information about the backup/restore job.
TODO has to be moved to impl package. We can do this later because it will touch 63 files
- Since:
- 7.17.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEvery value represents one bit in the configuration. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddSpaceKeys(Collection<String> spaceKeys) booleanintgetId()getOwner()getTotalTimeElapsed(Instant finishTime) booleaninthashCode()voidReset the particular flag in the job configuration.voidsetBackupRestoreJobResult(BackupRestoreJobResult backupRestoreJobResult) voidsetBackupRestoreSettings(BackupRestoreSettings backupRestoreSettings) voidsetCancelTime(Instant cancelTime) voidsetCreateTime(Instant createTime) voidsetErrorMessage(String errorMessage) voidsetFileDeleteTime(Instant fileDeleteTime) voidsetFileExists(Boolean fileExists) voidsetFileName(String fileName) voidsetFinishProcessingTime(Instant finishProcessingTime) voidSets the particular flag in the job configuration.voidvoidsetJobOperation(JobOperation jobOperation) voidsetJobScope(JobScope jobScope) voidsetJobState(JobState jobState) voidvoidsetSingleSpaceKey(String singleSpaceKey) voidsetSpaceKeys(String spaceKeys) voidsetStartProcessingTime(Instant startProcessingTime) voidsetWhoCancelledTheJob(String whoCancelledTheJob) toString()
-
Constructor Details
-
BackupRestoreJob
public BackupRestoreJob()
-
-
Method Details
-
getId
-
setId
-
getJobOperation
-
setJobOperation
-
getJobScope
-
setJobScope
-
getJobState
-
setJobState
-
getCreateTime
-
setCreateTime
-
getStartProcessingTime
-
setStartProcessingTime
-
getFinishProcessingTime
-
setFinishProcessingTime
-
getCancelTime
-
setCancelTime
-
getOwner
-
setOwner
-
getWhoCancelledTheJob
-
setWhoCancelledTheJob
-
getErrorMessage
-
setErrorMessage
-
getBackupRestoreSettings
-
setBackupRestoreSettings
-
getFileDeleteTime
-
setFileDeleteTime
-
isFileExists
-
setFileExists
-
equals
-
getBackupRestoreJobResult
-
setBackupRestoreJobResult
-
getConfiguration
public int getConfiguration() -
hasFlag
- Returns:
- true if the particular flag is set in the job configuration. Otherwise false.
-
setFlag
Sets the particular flag in the job configuration. -
resetFlag
Reset the particular flag in the job configuration. -
getFileName
-
setFileName
-
getSingleSpaceKey
-
setSingleSpaceKey
-
getSpaceKeys
-
setSpaceKeys
-
addSpaceKeys
-
getTotalTimeElapsed
- Throws:
BadRequestException
-
hashCode
public int hashCode() -
toString
-