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:
  • Constructor Details

    • ArchivedBackgroundJob

      public ArchivedBackgroundJob()
  • Method Details

    • 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)