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 TypeMethodDescriptionlonggetId()intintgetOwner()getState()getType()voidsetCompletionTime(Instant completionTime) voidsetCreationTime(Instant creationTime) voidsetDescription(String description) voidsetDuration(long duration) voidsetErrorMessage(String errorMessage) voidvoidsetIterationNumber(int iterationNumber) voidsetNumberOfFailures(int numberOfFailures) voidvoidsetState(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
-