Class BackupRestoreJob
- java.lang.Object
-
- com.atlassian.confluence.backuprestore.BackupRestoreJob
-
- All Implemented Interfaces:
Serializable
public class BackupRestoreJob extends Object implements Serializable
Contains information about the backup/restore job.- Since:
- 7.17.0
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
BackupRestoreJob.ConfigurationFlag
Every value represents one bit in the configuration.
-
Constructor Summary
Constructors Constructor Description BackupRestoreJob()
-
Method Summary
-
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getJobOperation
public JobOperation getJobOperation()
-
setJobOperation
public void setJobOperation(JobOperation jobOperation)
-
getJobScope
public JobScope getJobScope()
-
setJobScope
public void setJobScope(JobScope jobScope)
-
getJobSpaces
public JobSpaces getJobSpaces()
-
setJobSpaces
public void setJobSpaces(JobSpaces jobSpaces)
-
getJobState
public JobState getJobState()
-
setJobState
public void setJobState(JobState jobState)
-
getCreateTime
public long getCreateTime()
-
setCreateTime
public void setCreateTime(long createTime)
-
getStartProcessingTime
public Long getStartProcessingTime()
-
setStartProcessingTime
public void setStartProcessingTime(Long startProcessingTime)
-
getFinishProcessingTime
public Long getFinishProcessingTime()
-
setFinishProcessingTime
public void setFinishProcessingTime(Long finishProcessingTime)
-
getOwner
public String getOwner()
-
setOwner
public void setOwner(String owner)
-
getWhoCancelledTheJob
public String getWhoCancelledTheJob()
-
setWhoCancelledTheJob
public void setWhoCancelledTheJob(String whoCancelledTheJob)
-
getErrorMessage
public String getErrorMessage()
-
setErrorMessage
public void setErrorMessage(String errorMessage)
-
getBackupRestoreSettings
public BackupRestoreSettings getBackupRestoreSettings()
-
setBackupRestoreSettings
public void setBackupRestoreSettings(BackupRestoreSettings backupRestoreSettings)
-
getBackupRestoreJobResult
public BackupRestoreJobResult getBackupRestoreJobResult()
-
setBackupRestoreJobResult
public void setBackupRestoreJobResult(BackupRestoreJobResult backupRestoreJobResult)
-
getConfiguration
public int getConfiguration()
-
hasFlag
public boolean hasFlag(BackupRestoreJob.ConfigurationFlag flag)
- Returns:
- true if the particular flag is set in the job configuration. Otherwise false.
-
setFlag
public void setFlag(BackupRestoreJob.ConfigurationFlag flag)
Sets the particular flag in the job configuration.
-
resetFlag
public void resetFlag(BackupRestoreJob.ConfigurationFlag flag)
Reset the particular flag in the job configuration.
-
-