public class LockedExternalTaskImpl extends Object implements LockedExternalTask
Modifier and Type | Field and Description |
---|---|
protected String |
activityId |
protected String |
activityInstanceId |
protected String |
errorMessage |
protected String |
executionId |
protected String |
id |
protected Date |
lockExpirationTime |
protected String |
processDefinitionId |
protected String |
processDefinitionKey |
protected String |
processInstanceId |
protected Integer |
retries |
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) |
String |
getActivityId() |
String |
getActivityInstanceId() |
String |
getErrorMessage() |
String |
getExecutionId() |
String |
getId() |
Date |
getLockExpirationTime() |
String |
getProcessDefinitionId() |
String |
getProcessDefinitionKey() |
String |
getProcessInstanceId() |
Integer |
getRetries() |
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 processInstanceId
protected String executionId
protected String activityId
protected String activityInstanceId
protected String processDefinitionId
protected String processDefinitionKey
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 org.camunda.bpm.engine.variable.VariableMap getVariables()
getVariables
in interface LockedExternalTask
public static LockedExternalTaskImpl fromEntity(ExternalTaskEntity externalTaskEntity, List<String> variablesToFetch)
Copyright © 2018. All rights reserved.