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
Modifier and TypeClassDescriptionstatic enum
Every value represents one bit in the configuration. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addSpaceKeys
(Collection<String> spaceKeys) boolean
int
getId()
getOwner()
getTotalTimeElapsed
(Instant finishTime) boolean
int
hashCode()
void
Reset the particular flag in the job configuration.void
setBackupRestoreJobResult
(BackupRestoreJobResult backupRestoreJobResult) void
setBackupRestoreSettings
(BackupRestoreSettings backupRestoreSettings) void
setCancelTime
(Instant cancelTime) void
setCreateTime
(Instant createTime) void
setErrorMessage
(String errorMessage) void
setFileDeleteTime
(Instant fileDeleteTime) void
setFileExists
(Boolean fileExists) void
setFileName
(String fileName) void
setFinishProcessingTime
(Instant finishProcessingTime) void
Sets the particular flag in the job configuration.void
void
setJobOperation
(JobOperation jobOperation) void
setJobScope
(JobScope jobScope) void
setJobState
(JobState jobState) void
void
setSingleSpaceKey
(String singleSpaceKey) void
setSpaceKeys
(String spaceKeys) void
setStartProcessingTime
(Instant startProcessingTime) void
setWhoCancelledTheJob
(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
-