Package org.openapitools.client.model
Class ExternalTaskDto
- java.lang.Object
-
- org.openapitools.client.model.ExternalTaskDto
-
public class ExternalTaskDto extends Object
An External Task object with the following properties
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_ACTIVITY_IDstatic StringSERIALIZED_NAME_ACTIVITY_INSTANCE_IDstatic StringSERIALIZED_NAME_BUSINESS_KEYstatic StringSERIALIZED_NAME_ERROR_MESSAGEstatic StringSERIALIZED_NAME_EXECUTION_IDstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LOCK_EXPIRATION_TIMEstatic StringSERIALIZED_NAME_PRIORITYstatic StringSERIALIZED_NAME_PROCESS_DEFINITION_IDstatic StringSERIALIZED_NAME_PROCESS_DEFINITION_KEYstatic StringSERIALIZED_NAME_PROCESS_DEFINITION_VERSION_TAGstatic StringSERIALIZED_NAME_PROCESS_INSTANCE_IDstatic StringSERIALIZED_NAME_RETRIESstatic StringSERIALIZED_NAME_SUSPENDEDstatic StringSERIALIZED_NAME_TENANT_IDstatic StringSERIALIZED_NAME_TOPIC_NAMEstatic StringSERIALIZED_NAME_WORKER_ID
-
Constructor Summary
Constructors Constructor Description ExternalTaskDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExternalTaskDtoactivityId(String activityId)ExternalTaskDtoactivityInstanceId(String activityInstanceId)ExternalTaskDtobusinessKey(String businessKey)booleanequals(Object o)ExternalTaskDtoerrorMessage(String errorMessage)ExternalTaskDtoexecutionId(String executionId)StringgetActivityId()The id of the activity that this external task belongs to.StringgetActivityInstanceId()The id of the activity instance that the external task belongs to.StringgetBusinessKey()The business key of the process instance the external task belongs to.StringgetErrorMessage()The full error message submitted with the latest reported failure executing this task; `null` if no failure was reported previously or if no error message was submittedStringgetExecutionId()The id of the execution that the external task belongs to.StringgetId()The id of the external task.DategetLockExpirationTime()The date that the task's most recent lock expires or has expired.LonggetPriority()The priority of the external task.StringgetProcessDefinitionId()The id of the process definition the external task is defined in.StringgetProcessDefinitionKey()The key of the process definition the external task is defined in.StringgetProcessDefinitionVersionTag()The version tag of the process definition the external task is defined in.StringgetProcessInstanceId()The id of the process instance the external task belongs to.IntegergetRetries()The number of retries the task currently has left.BooleangetSuspended()A flag indicating whether the external task is suspended or not.StringgetTenantId()The id of the tenant the external task belongs to.StringgetTopicName()The topic name of the external task.StringgetWorkerId()The id of the worker that posesses or posessed the most recent lock.inthashCode()ExternalTaskDtoid(String id)ExternalTaskDtolockExpirationTime(Date lockExpirationTime)ExternalTaskDtopriority(Long priority)ExternalTaskDtoprocessDefinitionId(String processDefinitionId)ExternalTaskDtoprocessDefinitionKey(String processDefinitionKey)ExternalTaskDtoprocessDefinitionVersionTag(String processDefinitionVersionTag)ExternalTaskDtoprocessInstanceId(String processInstanceId)ExternalTaskDtoretries(Integer retries)voidsetActivityId(String activityId)voidsetActivityInstanceId(String activityInstanceId)voidsetBusinessKey(String businessKey)voidsetErrorMessage(String errorMessage)voidsetExecutionId(String executionId)voidsetId(String id)voidsetLockExpirationTime(Date lockExpirationTime)voidsetPriority(Long priority)voidsetProcessDefinitionId(String processDefinitionId)voidsetProcessDefinitionKey(String processDefinitionKey)voidsetProcessDefinitionVersionTag(String processDefinitionVersionTag)voidsetProcessInstanceId(String processInstanceId)voidsetRetries(Integer retries)voidsetSuspended(Boolean suspended)voidsetTenantId(String tenantId)voidsetTopicName(String topicName)voidsetWorkerId(String workerId)ExternalTaskDtosuspended(Boolean suspended)ExternalTaskDtotenantId(String tenantId)ExternalTaskDtotopicName(String topicName)StringtoString()ExternalTaskDtoworkerId(String workerId)
-
-
-
Field Detail
-
SERIALIZED_NAME_ACTIVITY_ID
public static final String SERIALIZED_NAME_ACTIVITY_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ACTIVITY_INSTANCE_ID
public static final String SERIALIZED_NAME_ACTIVITY_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ERROR_MESSAGE
public static final String SERIALIZED_NAME_ERROR_MESSAGE
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_EXECUTION_ID
public static final String SERIALIZED_NAME_EXECUTION_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCK_EXPIRATION_TIME
public static final String SERIALIZED_NAME_LOCK_EXPIRATION_TIME
- 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_PROCESS_DEFINITION_VERSION_TAG
public static final String SERIALIZED_NAME_PROCESS_DEFINITION_VERSION_TAG
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PROCESS_INSTANCE_ID
public static final String SERIALIZED_NAME_PROCESS_INSTANCE_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TENANT_ID
public static final String SERIALIZED_NAME_TENANT_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_RETRIES
public static final String SERIALIZED_NAME_RETRIES
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_SUSPENDED
public static final String SERIALIZED_NAME_SUSPENDED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_WORKER_ID
public static final String SERIALIZED_NAME_WORKER_ID
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOPIC_NAME
public static final String SERIALIZED_NAME_TOPIC_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_PRIORITY
public static final String SERIALIZED_NAME_PRIORITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_KEY
public static final String SERIALIZED_NAME_BUSINESS_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
activityId
public ExternalTaskDto activityId(String activityId)
-
getActivityId
public String getActivityId()
The id of the activity that this external task belongs to.- Returns:
- activityId
-
setActivityId
public void setActivityId(String activityId)
-
activityInstanceId
public ExternalTaskDto activityInstanceId(String activityInstanceId)
-
getActivityInstanceId
public String getActivityInstanceId()
The id of the activity instance that the external task belongs to.- Returns:
- activityInstanceId
-
setActivityInstanceId
public void setActivityInstanceId(String activityInstanceId)
-
errorMessage
public ExternalTaskDto errorMessage(String errorMessage)
-
getErrorMessage
public String getErrorMessage()
The full error message submitted with the latest reported failure executing this task; `null` if no failure was reported previously or if no error message was submitted- Returns:
- errorMessage
-
setErrorMessage
public void setErrorMessage(String errorMessage)
-
executionId
public ExternalTaskDto executionId(String executionId)
-
getExecutionId
public String getExecutionId()
The id of the execution that the external task belongs to.- Returns:
- executionId
-
setExecutionId
public void setExecutionId(String executionId)
-
id
public ExternalTaskDto id(String id)
-
getId
public String getId()
The id of the external task.- Returns:
- id
-
setId
public void setId(String id)
-
lockExpirationTime
public ExternalTaskDto lockExpirationTime(Date lockExpirationTime)
-
getLockExpirationTime
public Date getLockExpirationTime()
The date that the task's most recent lock expires or has expired.- Returns:
- lockExpirationTime
-
setLockExpirationTime
public void setLockExpirationTime(Date lockExpirationTime)
-
processDefinitionId
public ExternalTaskDto processDefinitionId(String processDefinitionId)
-
getProcessDefinitionId
public String getProcessDefinitionId()
The id of the process definition the external task is defined in.- Returns:
- processDefinitionId
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
processDefinitionKey
public ExternalTaskDto processDefinitionKey(String processDefinitionKey)
-
getProcessDefinitionKey
public String getProcessDefinitionKey()
The key of the process definition the external task is defined in.- Returns:
- processDefinitionKey
-
setProcessDefinitionKey
public void setProcessDefinitionKey(String processDefinitionKey)
-
processDefinitionVersionTag
public ExternalTaskDto processDefinitionVersionTag(String processDefinitionVersionTag)
-
getProcessDefinitionVersionTag
public String getProcessDefinitionVersionTag()
The version tag of the process definition the external task is defined in.- Returns:
- processDefinitionVersionTag
-
setProcessDefinitionVersionTag
public void setProcessDefinitionVersionTag(String processDefinitionVersionTag)
-
processInstanceId
public ExternalTaskDto processInstanceId(String processInstanceId)
-
getProcessInstanceId
public String getProcessInstanceId()
The id of the process instance the external task belongs to.- Returns:
- processInstanceId
-
setProcessInstanceId
public void setProcessInstanceId(String processInstanceId)
-
tenantId
public ExternalTaskDto tenantId(String tenantId)
-
getTenantId
public String getTenantId()
The id of the tenant the external task belongs to.- Returns:
- tenantId
-
setTenantId
public void setTenantId(String tenantId)
-
retries
public ExternalTaskDto retries(Integer retries)
-
getRetries
public Integer getRetries()
The number of retries the task currently has left.- Returns:
- retries
-
setRetries
public void setRetries(Integer retries)
-
suspended
public ExternalTaskDto suspended(Boolean suspended)
-
getSuspended
public Boolean getSuspended()
A flag indicating whether the external task is suspended or not.- Returns:
- suspended
-
setSuspended
public void setSuspended(Boolean suspended)
-
workerId
public ExternalTaskDto workerId(String workerId)
-
getWorkerId
public String getWorkerId()
The id of the worker that posesses or posessed the most recent lock.- Returns:
- workerId
-
setWorkerId
public void setWorkerId(String workerId)
-
topicName
public ExternalTaskDto topicName(String topicName)
-
getTopicName
public String getTopicName()
The topic name of the external task.- Returns:
- topicName
-
setTopicName
public void setTopicName(String topicName)
-
priority
public ExternalTaskDto priority(Long priority)
-
getPriority
public Long getPriority()
The priority of the external task.- Returns:
- priority
-
setPriority
public void setPriority(Long priority)
-
businessKey
public ExternalTaskDto businessKey(String businessKey)
-
getBusinessKey
public String getBusinessKey()
The business key of the process instance the external task belongs to.- Returns:
- businessKey
-
setBusinessKey
public void setBusinessKey(String businessKey)
-
-