Class ArchivedBackgroundJob
java.lang.Object
com.atlassian.confluence.impl.backgroundjob.domain.ArchivedBackgroundJob
- All Implemented Interfaces:
NotExportable
,Serializable
Contains information about archived background jobs only.
We do not want to keep both active and archvied jobs in one table (for performance reasons).
Plus, BackgroundJob and ArchivedBackgroundJob have different indexes.
- Since:
- 8.1.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlong
getId()
int
int
getOwner()
getState()
getType()
void
setCompletionTime
(Instant completionTime) void
setCreationTime
(Instant creationTime) void
setDescription
(String description) void
setDuration
(long duration) void
setErrorMessage
(String errorMessage) void
void
setIterationNumber
(int iterationNumber) void
setNumberOfFailures
(int numberOfFailures) void
void
setState
(BackgroundJobState state) void
-
Constructor Details
-
ArchivedBackgroundJob
public ArchivedBackgroundJob()
-
-
Method Details
-
getId
-
setId
-
getType
-
setType
-
getIterationNumber
public int getIterationNumber() -
setIterationNumber
public void setIterationNumber(int iterationNumber) -
getNumberOfFailures
public int getNumberOfFailures() -
setNumberOfFailures
public void setNumberOfFailures(int numberOfFailures) -
getCreationTime
-
setCreationTime
-
getState
-
setState
-
getDuration
public long getDuration() -
setDuration
public void setDuration(long duration) -
getCompletionTime
-
setCompletionTime
-
getDescription
-
setDescription
-
getErrorMessage
-
setErrorMessage
-
getOwner
-
setOwner
-