Class BatchStatisticsDto


  • public class BatchStatisticsDto
    extends Object
    BatchStatisticsDto
    • Constructor Detail

      • BatchStatisticsDto

        public BatchStatisticsDto()
    • Method Detail

      • getRemainingJobs

        public Integer getRemainingJobs()
        The number of remaining batch execution jobs. This does include failed batch execution jobs and batch execution jobs which still have to be created by the seed job.
        Returns:
        remainingJobs
      • setRemainingJobs

        public void setRemainingJobs​(Integer remainingJobs)
      • getCompletedJobs

        public Integer getCompletedJobs()
        The number of completed batch execution jobs. This does include aborted/deleted batch execution jobs.
        Returns:
        completedJobs
      • setCompletedJobs

        public void setCompletedJobs​(Integer completedJobs)
      • getFailedJobs

        public Integer getFailedJobs()
        The number of failed batch execution jobs. This does not include aborted or deleted batch execution jobs.
        Returns:
        failedJobs
      • setFailedJobs

        public void setFailedJobs​(Integer failedJobs)
      • getId

        public String getId()
        The id of the batch.
        Returns:
        id
      • setId

        public void setId​(String id)
      • getType

        public String getType()
        The type of the batch. See the [User Guide](https://docs.camunda.org/manual/7.18/user-guide/process-engine/batch/#creating-a-batch) for more information about batch types.
        Returns:
        type
      • setType

        public void setType​(String type)
      • getTotalJobs

        public Integer getTotalJobs()
        The total jobs of a batch is the number of batch execution jobs required to complete the batch.
        Returns:
        totalJobs
      • setTotalJobs

        public void setTotalJobs​(Integer totalJobs)
      • getJobsCreated

        public Integer getJobsCreated()
        The number of batch execution jobs already created by the seed job.
        Returns:
        jobsCreated
      • setJobsCreated

        public void setJobsCreated​(Integer jobsCreated)
      • getBatchJobsPerSeed

        public Integer getBatchJobsPerSeed()
        The number of batch execution jobs created per seed job invocation. The batch seed job is invoked until it has created all batch execution jobs required by the batch (see `totalJobs` property).
        Returns:
        batchJobsPerSeed
      • setBatchJobsPerSeed

        public void setBatchJobsPerSeed​(Integer batchJobsPerSeed)
      • getInvocationsPerBatchJob

        public Integer getInvocationsPerBatchJob()
        Every batch execution job invokes the command executed by the batch `invocationsPerBatchJob` times. E.g., for a process instance migration batch this specifies the number of process instances which are migrated per batch execution job.
        Returns:
        invocationsPerBatchJob
      • setInvocationsPerBatchJob

        public void setInvocationsPerBatchJob​(Integer invocationsPerBatchJob)
      • getSeedJobDefinitionId

        public String getSeedJobDefinitionId()
        The job definition id for the seed jobs of this batch.
        Returns:
        seedJobDefinitionId
      • setSeedJobDefinitionId

        public void setSeedJobDefinitionId​(String seedJobDefinitionId)
      • getMonitorJobDefinitionId

        public String getMonitorJobDefinitionId()
        The job definition id for the monitor jobs of this batch.
        Returns:
        monitorJobDefinitionId
      • setMonitorJobDefinitionId

        public void setMonitorJobDefinitionId​(String monitorJobDefinitionId)
      • getBatchJobDefinitionId

        public String getBatchJobDefinitionId()
        The job definition id for the batch execution jobs of this batch.
        Returns:
        batchJobDefinitionId
      • setBatchJobDefinitionId

        public void setBatchJobDefinitionId​(String batchJobDefinitionId)
      • getSuspended

        public Boolean getSuspended()
        Indicates whether this batch is suspended or not.
        Returns:
        suspended
      • setSuspended

        public void setSuspended​(Boolean suspended)
      • getTenantId

        public String getTenantId()
        The tenant id of the batch.
        Returns:
        tenantId
      • setTenantId

        public void setTenantId​(String tenantId)
      • getCreateUserId

        public String getCreateUserId()
        The id of the user that created the batch.
        Returns:
        createUserId
      • setCreateUserId

        public void setCreateUserId​(String createUserId)
      • getStartTime

        public Date getStartTime()
        The time the batch was started. Default format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`. For further information, please see the [documentation] (https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/)
        Returns:
        startTime
      • setStartTime

        public void setStartTime​(Date startTime)
      • getExecutionStartTime

        public Date getExecutionStartTime()
        The time the batch execution was started, i.e., at least one batch job has been executed. Default format `yyyy-MM-dd'T'HH:mm:ss.SSSZ`. For further information, please see the [documentation] (https://docs.camunda.org/manual/7.18/reference/rest/overview/date-format/)
        Returns:
        executionStartTime
      • setExecutionStartTime

        public void setExecutionStartTime​(Date executionStartTime)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object