Class JobDefinitionDto


  • public class JobDefinitionDto
    extends Object
    JobDefinitionDto
    • Constructor Detail

      • JobDefinitionDto

        public JobDefinitionDto()
    • Method Detail

      • getId

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

        public void setId​(String id)
      • getProcessDefinitionId

        public String getProcessDefinitionId()
        The id of the process definition this job definition is associated with.
        Returns:
        processDefinitionId
      • setProcessDefinitionId

        public void setProcessDefinitionId​(String processDefinitionId)
      • getProcessDefinitionKey

        public String getProcessDefinitionKey()
        The key of the process definition this job definition is associated with.
        Returns:
        processDefinitionKey
      • setProcessDefinitionKey

        public void setProcessDefinitionKey​(String processDefinitionKey)
      • getActivityId

        public String getActivityId()
        The id of the activity this job definition is associated with.
        Returns:
        activityId
      • setActivityId

        public void setActivityId​(String activityId)
      • getJobType

        public String getJobType()
        The type of the job which is running for this job definition. See the [User Guide](https://docs.camunda.org/manual/7.18/user-guide/process-engine/the-job-executor/#job-creation) for more information about job types.
        Returns:
        jobType
      • setJobType

        public void setJobType​(String jobType)
      • getJobConfiguration

        public String getJobConfiguration()
        The configuration of a job definition provides details about the jobs which will be created. For example: for timer jobs it is the timer configuration.
        Returns:
        jobConfiguration
      • setJobConfiguration

        public void setJobConfiguration​(String jobConfiguration)
      • overridingJobPriority

        public JobDefinitionDto overridingJobPriority​(Long overridingJobPriority)
      • getOverridingJobPriority

        public Long getOverridingJobPriority()
        The execution priority defined for jobs that are created based on this definition. May be `null` when the priority has not been overridden on the job definition level.
        Returns:
        overridingJobPriority
      • setOverridingJobPriority

        public void setOverridingJobPriority​(Long overridingJobPriority)
      • getSuspended

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

        public void setSuspended​(Boolean suspended)
      • getTenantId

        public String getTenantId()
        The id of the tenant this job definition is associated with.
        Returns:
        tenantId
      • setTenantId

        public void setTenantId​(String tenantId)
      • getDeploymentId

        public String getDeploymentId()
        The id of the deployment this job definition is related to. In a deployment-aware setup, this leads to all jobs of the same definition being executed on the same node.
        Returns:
        deploymentId
      • setDeploymentId

        public void setDeploymentId​(String deploymentId)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object