public class LockedExternalTaskImpl extends Object implements LockedExternalTask
Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
protected String |
activityInstanceId |
protected String |
businessKey |
protected String |
errorDetails |
protected String |
errorMessage |
protected String |
executionId |
protected String |
id |
protected Date |
lockExpirationTime |
protected long |
priority |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processDefinitionVersionTag |
protected String |
processInstanceId |
protected Integer |
retries |
protected String |
tenantId |
protected String |
topicName |
protected VariableMapImpl |
variables |
protected String |
workerId |
Constructor and Description |
---|
LockedExternalTaskImpl() |
Modifier and Type | Method and Description |
---|---|
static LockedExternalTaskImpl |
fromEntity(ExternalTaskEntity externalTaskEntity,
List<String> variablesToFetch,
boolean isLocal,
boolean deserializeVariables)
Construct representation of locked ExternalTask from corresponding entity.
|
String |
getActivityId() |
String |
getActivityInstanceId() |
String |
getBusinessKey()
Returns the business key of the process instance the external task belongs to
|
String |
getErrorDetails() |
String |
getErrorMessage() |
String |
getExecutionId() |
String |
getId() |
Date |
getLockExpirationTime() |
long |
getPriority()
Returns the priority of the locked external task.
|
String |
getProcessDefinitionId() |
String |
getProcessDefinitionKey() |
String |
getProcessDefinitionVersionTag() |
String |
getProcessInstanceId() |
Integer |
getRetries() |
String |
getTenantId() |
String |
getTopicName() |
VariableMap |
getVariables() |
String |
getWorkerId() |
protected String id
protected String topicName
protected String workerId
protected Date lockExpirationTime
protected Integer retries
protected String errorMessage
protected String errorDetails
protected String processInstanceId
protected String executionId
protected String activityId
protected String activityInstanceId
protected String processDefinitionId
protected String processDefinitionKey
protected String processDefinitionVersionTag
protected String tenantId
protected long priority
protected VariableMapImpl variables
protected String businessKey
public String getId()
getId
in interface LockedExternalTask
public String getTopicName()
getTopicName
in interface LockedExternalTask
public String getWorkerId()
getWorkerId
in interface LockedExternalTask
public Date getLockExpirationTime()
getLockExpirationTime
in interface LockedExternalTask
public Integer getRetries()
getRetries
in interface LockedExternalTask
null
.public String getErrorMessage()
getErrorMessage
in interface LockedExternalTask
null
if no failure was reported previously or if no error message
was submittedExternalTaskService.handleFailure(String, String, String, int, long)
public String getProcessInstanceId()
getProcessInstanceId
in interface LockedExternalTask
public String getExecutionId()
getExecutionId
in interface LockedExternalTask
public String getActivityId()
getActivityId
in interface LockedExternalTask
public String getActivityInstanceId()
getActivityInstanceId
in interface LockedExternalTask
public String getProcessDefinitionId()
getProcessDefinitionId
in interface LockedExternalTask
public String getProcessDefinitionKey()
getProcessDefinitionKey
in interface LockedExternalTask
public String getProcessDefinitionVersionTag()
getProcessDefinitionVersionTag
in interface LockedExternalTask
public String getTenantId()
getTenantId
in interface LockedExternalTask
null
if the task belongs to no single tenant.public VariableMap getVariables()
getVariables
in interface LockedExternalTask
public String getErrorDetails()
getErrorDetails
in interface LockedExternalTask
null
if no failure was reported previously or if no error details
was submittedExternalTaskService.handleFailure(String, String, String, String, int, long)
public long getPriority()
LockedExternalTask
getPriority
in interface LockedExternalTask
public String getBusinessKey()
LockedExternalTask
getBusinessKey
in interface LockedExternalTask
public static LockedExternalTaskImpl fromEntity(ExternalTaskEntity externalTaskEntity, List<String> variablesToFetch, boolean isLocal, boolean deserializeVariables)
externalTaskEntity
- - source persistent entity to use for fieldsvariablesToFetch
- - list of variable names to fetch, if null then all variables will be fetchedisLocal
- - if true only local variables will be collectedorg.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope#collectVariables(VariableMapImpl, Collection, boolean, boolean)}
Copyright © 2019. All rights reserved.