Class TranskribusJob

java.lang.Object
io.goobi.viewer.model.transkribus.TranskribusJob
All Implemented Interfaces:
Serializable

@Entity public class TranskribusJob extends Object implements Serializable
Represents a Transkribus HTR (handwritten text recognition) processing job with its status and associated record.
See Also:
  • Field Details

    • description

      protected String description
      Description field for stack traces, etc.
    • observers

      protected List<String> observers
      E-mail recipients that will be notified once the download generation is complete.
  • Constructor Details

    • TranskribusJob

      public TranskribusJob()
  • Method Details

    • getId

      public Long getId()
      Getter for the field id.
      Returns:
      the database identifier of this Transkribus job
    • setId

      public void setId(Long id)
      Setter for the field id.
      Parameters:
      id - the database identifier to set
    • getJobId

      public String getJobId()
      Getter for the field jobId.
      Returns:
      the Transkribus job identifier
    • setJobId

      public void setJobId(String jobId)
      Setter for the field jobId.
      Parameters:
      jobId - the Transkribus job identifier to set
    • getDocId

      public String getDocId()
      Getter for the field docId.
      Returns:
      the Transkribus document identifier
    • setDocId

      public void setDocId(String docId)
      Setter for the field docId.
      Parameters:
      docId - the Transkribus document identifier to set
    • getPi

      public String getPi()
      Getter for the field pi.
      Returns:
      the persistent identifier of the associated Goobi viewer record
    • setPi

      public void setPi(String pi)
      Setter for the field pi.
      Parameters:
      pi - the persistent identifier of the Goobi viewer record to set
    • getOwnerId

      public String getOwnerId()
      Getter for the field ownerId.
      Returns:
      the identifier of the user who submitted this job
    • setOwnerId

      public void setOwnerId(String ownerId)
      Setter for the field ownerId.
      Parameters:
      ownerId - the identifier of the user who submitted this job to set
    • getUserCollectionId

      public String getUserCollectionId()
      Getter for the field userCollectionId.
      Returns:
      the user's Transkribus collection identifier
    • setUserCollectionId

      public void setUserCollectionId(String userCollectionId)
      Setter for the field userCollectionId.
      Parameters:
      userCollectionId - the user's Transkribus collection identifier to set
    • getViewerCollectionId

      public String getViewerCollectionId()
      Getter for the field viewerCollectionId.
      Returns:
      the viewer's Transkribus collection identifier
    • setViewerCollectionId

      public void setViewerCollectionId(String viewerCollectionId)
      Setter for the field viewerCollectionId.
      Parameters:
      viewerCollectionId - the viewer's Transkribus collection identifier to set
    • getMessage

      public String getMessage()
      Getter for the field message.
      Returns:
      the status or error message from Transkribus
    • setMessage

      public void setMessage(String message)
      Setter for the field message.
      Parameters:
      message - the status or error message from Transkribus to set
    • getDateCreated

      public LocalDateTime getDateCreated()
      Getter for the field dateCreated.
      Returns:
      the timestamp when this job was created
    • setDateCreated

      public void setDateCreated(LocalDateTime dateCreated)
      Setter for the field dateCreated.
      Parameters:
      dateCreated - the timestamp when this job was created to set
    • getStatus

      public JobStatus getStatus()
      Getter for the field status.
      Returns:
      the current processing status of this job
    • setStatus

      public void setStatus(JobStatus status)
      Setter for the field status.
      Parameters:
      status - the current processing status of this job to set
    • getDescription

      public String getDescription()
      Getter for the field description.
      Returns:
      a human-readable description of this job
    • setDescription

      public void setDescription(String description)
      Setter for the field description.
      Parameters:
      description - a human-readable description of this job to set
    • getObservers

      public List<String> getObservers()
      Getter for the field observers.
      Returns:
      the list of email addresses to notify about job status changes
    • setObservers

      public void setObservers(List<String> observers)
      Setter for the field observers.
      Parameters:
      observers - the list of email addresses to notify about job status changes to set