Class ArchivedBackgroundJob
- java.lang.Object
-
- com.atlassian.confluence.impl.backgroundjob.domain.ArchivedBackgroundJob
-
- All Implemented Interfaces:
NotExportable
,Serializable
public class ArchivedBackgroundJob extends Object implements Serializable, NotExportable
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ArchivedBackgroundJob()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Instant
getCompletionTime()
Instant
getCreationTime()
String
getDescription()
long
getDuration()
String
getErrorMessage()
Long
getId()
int
getIterationNumber()
int
getNumberOfFailures()
String
getOwner()
BackgroundJobState
getState()
String
getType()
void
setCompletionTime(Instant completionTime)
void
setCreationTime(Instant creationTime)
void
setDescription(String description)
void
setDuration(long duration)
void
setErrorMessage(String errorMessage)
void
setId(Long id)
void
setIterationNumber(int iterationNumber)
void
setNumberOfFailures(int numberOfFailures)
void
setOwner(String owner)
void
setState(BackgroundJobState state)
void
setType(String type)
-
-
-
Method Detail
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
getType
public String getType()
-
setType
public void setType(String type)
-
getIterationNumber
public int getIterationNumber()
-
setIterationNumber
public void setIterationNumber(int iterationNumber)
-
getNumberOfFailures
public int getNumberOfFailures()
-
setNumberOfFailures
public void setNumberOfFailures(int numberOfFailures)
-
getCreationTime
public Instant getCreationTime()
-
setCreationTime
public void setCreationTime(Instant creationTime)
-
getState
public BackgroundJobState getState()
-
setState
public void setState(BackgroundJobState state)
-
getDuration
public long getDuration()
-
setDuration
public void setDuration(long duration)
-
getCompletionTime
public Instant getCompletionTime()
-
setCompletionTime
public void setCompletionTime(Instant completionTime)
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getErrorMessage
public String getErrorMessage()
-
setErrorMessage
public void setErrorMessage(String errorMessage)
-
getOwner
public String getOwner()
-
setOwner
public void setOwner(String owner)
-
-