public class LockedExternalTaskImpl extends Object implements LockedExternalTask
Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
protected String |
activityInstanceId |
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 |
processInstanceId |
protected Integer |
retries |
protected String |
tenantId |
protected String |
topicName |
protected org.camunda.bpm.engine.variable.impl.VariableMapImpl |
variables |
protected String |
workerId |
Constructor and Description |
---|
LockedExternalTaskImpl() |
Modifier and Type | Method and Description |
---|---|
static LockedExternalTaskImpl |
fromEntity(ExternalTaskEntity externalTaskEntity,
List<String> variablesToFetch,
boolean deserializeVariables)
Construct representation of locked ExternalTask from corresponding entity.
|
String |
getActivityId() |
String |
getActivityInstanceId() |
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 |
getProcessInstanceId() |
Integer |
getRetries() |
String |
getTenantId() |
String |
getTopicName() |
org.camunda.bpm.engine.variable.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 tenantId
protected long priority
protected org.camunda.bpm.engine.variable.impl.VariableMapImpl variables
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 getTenantId()
getTenantId
in interface LockedExternalTask
null
if the task belongs to no single tenant.public org.camunda.bpm.engine.variable.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 static LockedExternalTaskImpl fromEntity(ExternalTaskEntity externalTaskEntity, List<String> variablesToFetch, boolean deserializeVariables)
externalTaskEntity
- - source persistent entity to use for fieldsvariablesToFetch
- - list of variable names to fetch, if null then all variables will be fetchedorg.camunda.bpm.engine.impl.core.variable.scope.AbstractVariableScope#collectVariables(VariableMapImpl, Collection, boolean, boolean)}
Copyright © 2018. All rights reserved.