Package org.camunda.bpm.client.impl
Class EngineClient
java.lang.Object
org.camunda.bpm.client.impl.EngineClient
- Author:
- Tassilo Weidner
-
Field Summary
Modifier and TypeFieldDescriptionprotected Long
protected String
static final String
static final String
protected RequestExecutor
static final String
protected static final String
protected static final String
static final String
protected static final String
static final String
static final String
protected static final String
static final String
protected int
static final String
protected OrderingConfig
static final String
static final String
static final String
protected TypedValues
static final String
protected boolean
protected String
-
Constructor Summary
ConstructorDescriptionEngineClient
(String workerId, int maxTasks, Long asyncResponseTimeout, String baseUrl, RequestExecutor engineInteraction) EngineClient
(String workerId, int maxTasks, Long asyncResponseTimeout, String baseUrl, RequestExecutor engineInteraction, boolean usePriority, OrderingConfig orderingConfig) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
extendLock
(String taskId, long newDuration) void
failure
(String taskId, String errorMessage, String errorDetails, int retries, long retryTimeout, Map<String, Object> variables, Map<String, Object> localVariables) fetchAndLock
(List<TopicRequestDto> topics) byte[]
getLocalBinaryVariable
(String variableName, String executionId) boolean
void
void
setTypedValues
(TypedValues typedValues) void
setVariables
(String processId, Map<String, Object> variables) void
-
Field Details
-
EXTERNAL_TASK_RESOURCE_PATH
- See Also:
-
EXTERNAL_TASK__PROCESS_RESOURCE_PATH
- See Also:
-
FETCH_AND_LOCK_RESOURCE_PATH
- See Also:
-
ID_PATH_PARAM
- See Also:
-
ID_RESOURCE_PATH
- See Also:
-
LOCK_RESOURCE_PATH
- See Also:
-
EXTEND_LOCK_RESOURCE_PATH
- See Also:
-
SET_VARIABLES_RESOURCE_PATH
- See Also:
-
UNLOCK_RESOURCE_PATH
- See Also:
-
COMPLETE_RESOURCE_PATH
- See Also:
-
FAILURE_RESOURCE_PATH
- See Also:
-
BPMN_ERROR_RESOURCE_PATH
- See Also:
-
NAME_PATH_PARAM
- See Also:
-
PROCESS_INSTANCE_RESOURCE_PATH
- See Also:
-
PROCESS_INSTANCE_ID_RESOURCE_PATH
- See Also:
-
GET_BINARY_VARIABLE
- See Also:
-
baseUrl
-
workerId
-
maxTasks
protected int maxTasks -
usePriority
protected boolean usePriority -
orderingConfig
-
asyncResponseTimeout
-
engineInteraction
-
typedValues
-
-
Constructor Details
-
EngineClient
public EngineClient(String workerId, int maxTasks, Long asyncResponseTimeout, String baseUrl, RequestExecutor engineInteraction) -
EngineClient
public EngineClient(String workerId, int maxTasks, Long asyncResponseTimeout, String baseUrl, RequestExecutor engineInteraction, boolean usePriority, OrderingConfig orderingConfig)
-
-
Method Details
-
fetchAndLock
-
lock
-
unlock
-
complete
-
setVariables
-
failure
-
bpmnError
-
extendLock
-
getLocalBinaryVariable
-
getBaseUrl
-
getWorkerId
-
setTypedValues
-
isUsePriority
public boolean isUsePriority()
-