Class Execution<DocT extends Inference>


  • public class Execution<DocT extends Inference>
    extends Object
    Representation of a workflow execution.
    • Constructor Detail

      • Execution

        public Execution​(String batchName,
                         LocalDateTime createdAt,
                         ExecutionFile file,
                         String id,
                         DocT inference,
                         String priority,
                         LocalDateTime reviewedAt,
                         LocalDateTime availableAt,
                         GeneratedV1Document reviewedPrediction,
                         String status,
                         String type,
                         LocalDateTime uploadedAt,
                         String workflowId)
        Creates a new Execution instance.
        Parameters:
        batchName - Identifier for the batch to which the execution belongs.
        createdAt - The time at which the execution started.
        file - File representation within a workflow execution.
        id - Identifier for the execution.
        inference - Deserialized inference object.
        priority - Priority of the execution.
        reviewedAt - The time at which the file was tagged as reviewed.
        availableAt - The time at which the file was uploaded to a workflow.
        reviewedPrediction - Reviewed fields and values.
        status - Execution Status.
        type - Execution type.
        uploadedAt - The time at which the file was uploaded to a workflow.
        workflowId - Identifier for the workflow.
      • Execution

        public Execution()
    • Method Detail

      • getBatchName

        public String getBatchName()
        Identifier for the batch to which the execution belongs.
      • getCreatedAt

        public LocalDateTime getCreatedAt()
        The time at which the execution started.
      • getFile

        public ExecutionFile getFile()
        File representation within a workflow execution.
      • getId

        public String getId()
        Identifier for the execution.
      • getInference

        public DocT getInference()
        Deserialized inference object.
      • getPriority

        public String getPriority()
        Priority of the execution.
      • getReviewedAt

        public LocalDateTime getReviewedAt()
        The time at which the file was tagged as reviewed.
      • getAvailableAt

        public LocalDateTime getAvailableAt()
        The time at which the file was uploaded to a workflow.
      • getReviewedPrediction

        public GeneratedV1Document getReviewedPrediction()
        Reviewed fields and values.
      • getStatus

        public String getStatus()
        Execution Status.
      • getType

        public String getType()
        Execution type.
      • getUploadedAt

        public LocalDateTime getUploadedAt()
        The time at which the file was uploaded to a workflow.
      • getWorkflowId

        public String getWorkflowId()
        Identifier for the workflow.
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object