Package org.openapitools.client.model
Class LockedExternalTaskDto
- java.lang.Object
-
- org.openapitools.client.model.LockedExternalTaskDto
-
public class LockedExternalTaskDto extends Object
LockedExternalTaskDto
-
-
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_DETAILSstatic 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_VARIABLESstatic StringSERIALIZED_NAME_WORKER_ID
-
Constructor Summary
Constructors Constructor Description LockedExternalTaskDto()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LockedExternalTaskDtoactivityId(String activityId)LockedExternalTaskDtoactivityInstanceId(String activityInstanceId)LockedExternalTaskDtobusinessKey(String businessKey)booleanequals(Object o)LockedExternalTaskDtoerrorDetails(String errorDetails)LockedExternalTaskDtoerrorMessage(String errorMessage)LockedExternalTaskDtoexecutionId(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.StringgetErrorDetails()The error details submitted with the latest reported failure executing this task.`null` if no failure was reported previously or if no error details was submittedStringgetErrorMessage()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()Whether the process instance the external task belongs to is suspended.StringgetTenantId()The id of the tenant the external task belongs to.StringgetTopicName()The topic name of the external task.Map<String,VariableValueDto>getVariables()A JSON object containing a property for each of the requested variables.StringgetWorkerId()The id of the worker that posesses or posessed the most recent lock.inthashCode()LockedExternalTaskDtoid(String id)LockedExternalTaskDtolockExpirationTime(Date lockExpirationTime)LockedExternalTaskDtopriority(Long priority)LockedExternalTaskDtoprocessDefinitionId(String processDefinitionId)LockedExternalTaskDtoprocessDefinitionKey(String processDefinitionKey)LockedExternalTaskDtoprocessDefinitionVersionTag(String processDefinitionVersionTag)LockedExternalTaskDtoprocessInstanceId(String processInstanceId)LockedExternalTaskDtoputVariablesItem(String key, VariableValueDto variablesItem)LockedExternalTaskDtoretries(Integer retries)voidsetActivityId(String activityId)voidsetActivityInstanceId(String activityInstanceId)voidsetBusinessKey(String businessKey)voidsetErrorDetails(String errorDetails)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)voidsetVariables(Map<String,VariableValueDto> variables)voidsetWorkerId(String workerId)LockedExternalTaskDtosuspended(Boolean suspended)LockedExternalTaskDtotenantId(String tenantId)LockedExternalTaskDtotopicName(String topicName)StringtoString()LockedExternalTaskDtovariables(Map<String,VariableValueDto> variables)LockedExternalTaskDtoworkerId(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_ERROR_DETAILS
public static final String SERIALIZED_NAME_ERROR_DETAILS
- 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_PRIORITY
public static final String SERIALIZED_NAME_PRIORITY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TOPIC_NAME
public static final String SERIALIZED_NAME_TOPIC_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_BUSINESS_KEY
public static final String SERIALIZED_NAME_BUSINESS_KEY
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_VARIABLES
public static final String SERIALIZED_NAME_VARIABLES
- See Also:
- Constant Field Values
-
-
Method Detail
-
activityId
public LockedExternalTaskDto 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 LockedExternalTaskDto 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 LockedExternalTaskDto 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)
-
errorDetails
public LockedExternalTaskDto errorDetails(String errorDetails)
-
getErrorDetails
public String getErrorDetails()
The error details submitted with the latest reported failure executing this task.`null` if no failure was reported previously or if no error details was submitted- Returns:
- errorDetails
-
setErrorDetails
public void setErrorDetails(String errorDetails)
-
executionId
public LockedExternalTaskDto 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 LockedExternalTaskDto id(String id)
-
getId
public String getId()
The id of the external task.- Returns:
- id
-
setId
public void setId(String id)
-
lockExpirationTime
public LockedExternalTaskDto 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 LockedExternalTaskDto 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 LockedExternalTaskDto 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 LockedExternalTaskDto 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 LockedExternalTaskDto 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 LockedExternalTaskDto 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 LockedExternalTaskDto 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 LockedExternalTaskDto suspended(Boolean suspended)
-
getSuspended
public Boolean getSuspended()
Whether the process instance the external task belongs to is suspended.- Returns:
- suspended
-
setSuspended
public void setSuspended(Boolean suspended)
-
workerId
public LockedExternalTaskDto 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)
-
priority
public LockedExternalTaskDto priority(Long priority)
-
getPriority
public Long getPriority()
The priority of the external task.- Returns:
- priority
-
setPriority
public void setPriority(Long priority)
-
topicName
public LockedExternalTaskDto topicName(String topicName)
-
getTopicName
public String getTopicName()
The topic name of the external task.- Returns:
- topicName
-
setTopicName
public void setTopicName(String topicName)
-
businessKey
public LockedExternalTaskDto 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)
-
variables
public LockedExternalTaskDto variables(Map<String,VariableValueDto> variables)
-
putVariablesItem
public LockedExternalTaskDto putVariablesItem(String key, VariableValueDto variablesItem)
-
getVariables
public Map<String,VariableValueDto> getVariables()
A JSON object containing a property for each of the requested variables. The key is the variable name, the value is a JSON object of serialized variable values with the following properties:- Returns:
- variables
-
setVariables
public void setVariables(Map<String,VariableValueDto> variables)
-
-