Package org.openapitools.client.model
Class JobDefinitionDto
- java.lang.Object
-
- org.openapitools.client.model.JobDefinitionDto
-
public class JobDefinitionDto extends Object
JobDefinitionDto
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ACTIVITY_IDstatic StringSERIALIZED_NAME_DEPLOYMENT_IDstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_JOB_CONFIGURATIONstatic StringSERIALIZED_NAME_JOB_TYPEstatic StringSERIALIZED_NAME_OVERRIDING_JOB_PRIORITYstatic StringSERIALIZED_NAME_PROCESS_DEFINITION_IDstatic StringSERIALIZED_NAME_PROCESS_DEFINITION_KEYstatic StringSERIALIZED_NAME_SUSPENDEDstatic StringSERIALIZED_NAME_TENANT_ID
-
Constructor Summary
Constructors Constructor Description JobDefinitionDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobDefinitionDtoactivityId(String activityId)JobDefinitionDtodeploymentId(String deploymentId)booleanequals(Object o)StringgetActivityId()The id of the activity this job definition is associated with.StringgetDeploymentId()The id of the deployment this job definition is related to.StringgetId()The id of the job definition.StringgetJobConfiguration()The configuration of a job definition provides details about the jobs which will be created.StringgetJobType()The type of the job which is running for this job definition.LonggetOverridingJobPriority()The execution priority defined for jobs that are created based on this definition.StringgetProcessDefinitionId()The id of the process definition this job definition is associated with.StringgetProcessDefinitionKey()The key of the process definition this job definition is associated with.BooleangetSuspended()Indicates whether this job definition is suspended or not.StringgetTenantId()The id of the tenant this job definition is associated with.inthashCode()JobDefinitionDtoid(String id)JobDefinitionDtojobConfiguration(String jobConfiguration)JobDefinitionDtojobType(String jobType)JobDefinitionDtooverridingJobPriority(Long overridingJobPriority)JobDefinitionDtoprocessDefinitionId(String processDefinitionId)JobDefinitionDtoprocessDefinitionKey(String processDefinitionKey)voidsetActivityId(String activityId)voidsetDeploymentId(String deploymentId)voidsetId(String id)voidsetJobConfiguration(String jobConfiguration)voidsetJobType(String jobType)voidsetOverridingJobPriority(Long overridingJobPriority)voidsetProcessDefinitionId(String processDefinitionId)voidsetProcessDefinitionKey(String processDefinitionKey)voidsetSuspended(Boolean suspended)voidsetTenantId(String tenantId)JobDefinitionDtosuspended(Boolean suspended)JobDefinitionDtotenantId(String tenantId)StringtoString()
-
-
-
Field Detail
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_ID
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_DEFINITION_KEY
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVITY_ID
public static final String SERIALIZED_NAME_ACTIVITY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_JOB_TYPE
public static final String SERIALIZED_NAME_JOB_TYPE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_JOB_CONFIGURATION
public static final String SERIALIZED_NAME_JOB_CONFIGURATION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_OVERRIDING_JOB_PRIORITY
public static final String SERIALIZED_NAME_OVERRIDING_JOB_PRIORITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUSPENDED
public static final String SERIALIZED_NAME_SUSPENDED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TENANT_ID
public static final String SERIALIZED_NAME_TENANT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DEPLOYMENT_ID
public static final String SERIALIZED_NAME_DEPLOYMENT_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public JobDefinitionDto id(String id)
-
getId
public String getId()
The id of the job definition.- Returns:
- id
-
setId
public void setId(String id)
-
processDefinitionId
public JobDefinitionDto processDefinitionId(String processDefinitionId)
-
getProcessDefinitionId
public String getProcessDefinitionId()
The id of the process definition this job definition is associated with.- Returns:
- processDefinitionId
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
processDefinitionKey
public JobDefinitionDto processDefinitionKey(String processDefinitionKey)
-
getProcessDefinitionKey
public String getProcessDefinitionKey()
The key of the process definition this job definition is associated with.- Returns:
- processDefinitionKey
-
setProcessDefinitionKey
public void setProcessDefinitionKey(String processDefinitionKey)
-
activityId
public JobDefinitionDto activityId(String activityId)
-
getActivityId
public String getActivityId()
The id of the activity this job definition is associated with.- Returns:
- activityId
-
setActivityId
public void setActivityId(String activityId)
-
jobType
public JobDefinitionDto jobType(String jobType)
-
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)
-
jobConfiguration
public JobDefinitionDto jobConfiguration(String jobConfiguration)
-
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)
-
suspended
public JobDefinitionDto suspended(Boolean suspended)
-
getSuspended
public Boolean getSuspended()
Indicates whether this job definition is suspended or not.- Returns:
- suspended
-
setSuspended
public void setSuspended(Boolean suspended)
-
tenantId
public JobDefinitionDto tenantId(String tenantId)
-
getTenantId
public String getTenantId()
The id of the tenant this job definition is associated with.- Returns:
- tenantId
-
setTenantId
public void setTenantId(String tenantId)
-
deploymentId
public JobDefinitionDto deploymentId(String deploymentId)
-
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)
-
-