public class ExecutionApi extends Object
Constructor and Description |
---|
ExecutionApi() |
ExecutionApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
IncidentDto |
createIncident(String id,
CreateIncidentDto createIncidentDto)
Create Incident
Creates a custom incident with given properties.
|
okhttp3.Call |
createIncidentAsync(String id,
CreateIncidentDto createIncidentDto,
ApiCallback<IncidentDto> _callback)
Create Incident (asynchronously)
Creates a custom incident with given properties.
|
okhttp3.Call |
createIncidentCall(String id,
CreateIncidentDto createIncidentDto,
ApiCallback _callback)
Build call for createIncident
|
ApiResponse<IncidentDto> |
createIncidentWithHttpInfo(String id,
CreateIncidentDto createIncidentDto)
Create Incident
Creates a custom incident with given properties.
|
void |
deleteLocalExecutionVariable(String id,
String varName)
Delete Local Execution Variable
Deletes a variable in the context of a given execution by id.
|
okhttp3.Call |
deleteLocalExecutionVariableAsync(String id,
String varName,
ApiCallback<Void> _callback)
Delete Local Execution Variable (asynchronously)
Deletes a variable in the context of a given execution by id.
|
okhttp3.Call |
deleteLocalExecutionVariableCall(String id,
String varName,
ApiCallback _callback)
Build call for deleteLocalExecutionVariable
|
ApiResponse<Void> |
deleteLocalExecutionVariableWithHttpInfo(String id,
String varName)
Delete Local Execution Variable
Deletes a variable in the context of a given execution by id.
|
ApiClient |
getApiClient() |
ExecutionDto |
getExecution(String id)
Get Execution
Retrieves an execution by id, according to the `Execution` interface in the engine.
|
okhttp3.Call |
getExecutionAsync(String id,
ApiCallback<ExecutionDto> _callback)
Get Execution (asynchronously)
Retrieves an execution by id, according to the `Execution` interface in the engine.
|
okhttp3.Call |
getExecutionCall(String id,
ApiCallback _callback)
Build call for getExecution
|
List<ExecutionDto> |
getExecutions(String businessKey,
String processDefinitionId,
String processDefinitionKey,
String processInstanceId,
String activityId,
String signalEventSubscriptionName,
String messageEventSubscriptionName,
Boolean active,
Boolean suspended,
String incidentId,
String incidentType,
String incidentMessage,
String incidentMessageLike,
String tenantIdIn,
String variables,
String processVariables,
Boolean variableNamesIgnoreCase,
Boolean variableValuesIgnoreCase,
String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults)
Get Executions
Queries for the executions that fulfill given parameters.
|
okhttp3.Call |
getExecutionsAsync(String businessKey,
String processDefinitionId,
String processDefinitionKey,
String processInstanceId,
String activityId,
String signalEventSubscriptionName,
String messageEventSubscriptionName,
Boolean active,
Boolean suspended,
String incidentId,
String incidentType,
String incidentMessage,
String incidentMessageLike,
String tenantIdIn,
String variables,
String processVariables,
Boolean variableNamesIgnoreCase,
Boolean variableValuesIgnoreCase,
String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
ApiCallback<List<ExecutionDto>> _callback)
Get Executions (asynchronously)
Queries for the executions that fulfill given parameters.
|
okhttp3.Call |
getExecutionsCall(String businessKey,
String processDefinitionId,
String processDefinitionKey,
String processInstanceId,
String activityId,
String signalEventSubscriptionName,
String messageEventSubscriptionName,
Boolean active,
Boolean suspended,
String incidentId,
String incidentType,
String incidentMessage,
String incidentMessageLike,
String tenantIdIn,
String variables,
String processVariables,
Boolean variableNamesIgnoreCase,
Boolean variableValuesIgnoreCase,
String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults,
ApiCallback _callback)
Build call for getExecutions
|
CountResultDto |
getExecutionsCount(String businessKey,
String processDefinitionId,
String processDefinitionKey,
String processInstanceId,
String activityId,
String signalEventSubscriptionName,
String messageEventSubscriptionName,
Boolean active,
Boolean suspended,
String incidentId,
String incidentType,
String incidentMessage,
String incidentMessageLike,
String tenantIdIn,
String variables,
String processVariables,
Boolean variableNamesIgnoreCase,
Boolean variableValuesIgnoreCase)
Get Execution Count
Queries for the number of executions that fulfill given parameters.
|
okhttp3.Call |
getExecutionsCountAsync(String businessKey,
String processDefinitionId,
String processDefinitionKey,
String processInstanceId,
String activityId,
String signalEventSubscriptionName,
String messageEventSubscriptionName,
Boolean active,
Boolean suspended,
String incidentId,
String incidentType,
String incidentMessage,
String incidentMessageLike,
String tenantIdIn,
String variables,
String processVariables,
Boolean variableNamesIgnoreCase,
Boolean variableValuesIgnoreCase,
ApiCallback<CountResultDto> _callback)
Get Execution Count (asynchronously)
Queries for the number of executions that fulfill given parameters.
|
okhttp3.Call |
getExecutionsCountCall(String businessKey,
String processDefinitionId,
String processDefinitionKey,
String processInstanceId,
String activityId,
String signalEventSubscriptionName,
String messageEventSubscriptionName,
Boolean active,
Boolean suspended,
String incidentId,
String incidentType,
String incidentMessage,
String incidentMessageLike,
String tenantIdIn,
String variables,
String processVariables,
Boolean variableNamesIgnoreCase,
Boolean variableValuesIgnoreCase,
ApiCallback _callback)
Build call for getExecutionsCount
|
ApiResponse<CountResultDto> |
getExecutionsCountWithHttpInfo(String businessKey,
String processDefinitionId,
String processDefinitionKey,
String processInstanceId,
String activityId,
String signalEventSubscriptionName,
String messageEventSubscriptionName,
Boolean active,
Boolean suspended,
String incidentId,
String incidentType,
String incidentMessage,
String incidentMessageLike,
String tenantIdIn,
String variables,
String processVariables,
Boolean variableNamesIgnoreCase,
Boolean variableValuesIgnoreCase)
Get Execution Count
Queries for the number of executions that fulfill given parameters.
|
ApiResponse<List<ExecutionDto>> |
getExecutionsWithHttpInfo(String businessKey,
String processDefinitionId,
String processDefinitionKey,
String processInstanceId,
String activityId,
String signalEventSubscriptionName,
String messageEventSubscriptionName,
Boolean active,
Boolean suspended,
String incidentId,
String incidentType,
String incidentMessage,
String incidentMessageLike,
String tenantIdIn,
String variables,
String processVariables,
Boolean variableNamesIgnoreCase,
Boolean variableValuesIgnoreCase,
String sortBy,
String sortOrder,
Integer firstResult,
Integer maxResults)
Get Executions
Queries for the executions that fulfill given parameters.
|
ApiResponse<ExecutionDto> |
getExecutionWithHttpInfo(String id)
Get Execution
Retrieves an execution by id, according to the `Execution` interface in the engine.
|
VariableValueDto |
getLocalExecutionVariable(String id,
String varName,
Boolean deserializeValue)
Get Local Execution Variable
Retrieves a variable from the context of a given execution by id.
|
okhttp3.Call |
getLocalExecutionVariableAsync(String id,
String varName,
Boolean deserializeValue,
ApiCallback<VariableValueDto> _callback)
Get Local Execution Variable (asynchronously)
Retrieves a variable from the context of a given execution by id.
|
File |
getLocalExecutionVariableBinary(String id,
String varName)
Get Local Execution Variable (Binary)
Retrieves a binary variable from the context of a given execution by id.
|
okhttp3.Call |
getLocalExecutionVariableBinaryAsync(String id,
String varName,
ApiCallback<File> _callback)
Get Local Execution Variable (Binary) (asynchronously)
Retrieves a binary variable from the context of a given execution by id.
|
okhttp3.Call |
getLocalExecutionVariableBinaryCall(String id,
String varName,
ApiCallback _callback)
Build call for getLocalExecutionVariableBinary
|
ApiResponse<File> |
getLocalExecutionVariableBinaryWithHttpInfo(String id,
String varName)
Get Local Execution Variable (Binary)
Retrieves a binary variable from the context of a given execution by id.
|
okhttp3.Call |
getLocalExecutionVariableCall(String id,
String varName,
Boolean deserializeValue,
ApiCallback _callback)
Build call for getLocalExecutionVariable
|
Map<String,VariableValueDto> |
getLocalExecutionVariables(String id,
Boolean deserializeValues)
Get Local Execution Variables
Retrieves all variables of a given execution by id.
|
okhttp3.Call |
getLocalExecutionVariablesAsync(String id,
Boolean deserializeValues,
ApiCallback<Map<String,VariableValueDto>> _callback)
Get Local Execution Variables (asynchronously)
Retrieves all variables of a given execution by id.
|
okhttp3.Call |
getLocalExecutionVariablesCall(String id,
Boolean deserializeValues,
ApiCallback _callback)
Build call for getLocalExecutionVariables
|
ApiResponse<Map<String,VariableValueDto>> |
getLocalExecutionVariablesWithHttpInfo(String id,
Boolean deserializeValues)
Get Local Execution Variables
Retrieves all variables of a given execution by id.
|
ApiResponse<VariableValueDto> |
getLocalExecutionVariableWithHttpInfo(String id,
String varName,
Boolean deserializeValue)
Get Local Execution Variable
Retrieves a variable from the context of a given execution by id.
|
EventSubscriptionDto |
getMessageEventSubscription(String id,
String messageName)
Get Message Event Subscription
Retrieves a message event subscription for a given execution by id and a message name.
|
okhttp3.Call |
getMessageEventSubscriptionAsync(String id,
String messageName,
ApiCallback<EventSubscriptionDto> _callback)
Get Message Event Subscription (asynchronously)
Retrieves a message event subscription for a given execution by id and a message name.
|
okhttp3.Call |
getMessageEventSubscriptionCall(String id,
String messageName,
ApiCallback _callback)
Build call for getMessageEventSubscription
|
ApiResponse<EventSubscriptionDto> |
getMessageEventSubscriptionWithHttpInfo(String id,
String messageName)
Get Message Event Subscription
Retrieves a message event subscription for a given execution by id and a message name.
|
void |
modifyLocalExecutionVariables(String id,
PatchVariablesDto patchVariablesDto)
Update/Delete Local Execution Variables
Updates or deletes the variables in the context of an execution by id.
|
okhttp3.Call |
modifyLocalExecutionVariablesAsync(String id,
PatchVariablesDto patchVariablesDto,
ApiCallback<Void> _callback)
Update/Delete Local Execution Variables (asynchronously)
Updates or deletes the variables in the context of an execution by id.
|
okhttp3.Call |
modifyLocalExecutionVariablesCall(String id,
PatchVariablesDto patchVariablesDto,
ApiCallback _callback)
Build call for modifyLocalExecutionVariables
|
ApiResponse<Void> |
modifyLocalExecutionVariablesWithHttpInfo(String id,
PatchVariablesDto patchVariablesDto)
Update/Delete Local Execution Variables
Updates or deletes the variables in the context of an execution by id.
|
void |
putLocalExecutionVariable(String id,
String varName,
VariableValueDto variableValueDto)
Put Local Execution Variable
Sets a variable in the context of a given execution by id.
|
okhttp3.Call |
putLocalExecutionVariableAsync(String id,
String varName,
VariableValueDto variableValueDto,
ApiCallback<Void> _callback)
Put Local Execution Variable (asynchronously)
Sets a variable in the context of a given execution by id.
|
okhttp3.Call |
putLocalExecutionVariableCall(String id,
String varName,
VariableValueDto variableValueDto,
ApiCallback _callback)
Build call for putLocalExecutionVariable
|
ApiResponse<Void> |
putLocalExecutionVariableWithHttpInfo(String id,
String varName,
VariableValueDto variableValueDto)
Put Local Execution Variable
Sets a variable in the context of a given execution by id.
|
List<ExecutionDto> |
queryExecutions(Integer firstResult,
Integer maxResults,
ExecutionQueryDto executionQueryDto)
Get Executions (POST)
Queries for executions that fulfill given parameters through a JSON object.
|
okhttp3.Call |
queryExecutionsAsync(Integer firstResult,
Integer maxResults,
ExecutionQueryDto executionQueryDto,
ApiCallback<List<ExecutionDto>> _callback)
Get Executions (POST) (asynchronously)
Queries for executions that fulfill given parameters through a JSON object.
|
okhttp3.Call |
queryExecutionsCall(Integer firstResult,
Integer maxResults,
ExecutionQueryDto executionQueryDto,
ApiCallback _callback)
Build call for queryExecutions
|
CountResultDto |
queryExecutionsCount(ExecutionQueryDto executionQueryDto)
Get Execution Count (POST)
Queries for the number of executions that fulfill given parameters.
|
okhttp3.Call |
queryExecutionsCountAsync(ExecutionQueryDto executionQueryDto,
ApiCallback<CountResultDto> _callback)
Get Execution Count (POST) (asynchronously)
Queries for the number of executions that fulfill given parameters.
|
okhttp3.Call |
queryExecutionsCountCall(ExecutionQueryDto executionQueryDto,
ApiCallback _callback)
Build call for queryExecutionsCount
|
ApiResponse<CountResultDto> |
queryExecutionsCountWithHttpInfo(ExecutionQueryDto executionQueryDto)
Get Execution Count (POST)
Queries for the number of executions that fulfill given parameters.
|
ApiResponse<List<ExecutionDto>> |
queryExecutionsWithHttpInfo(Integer firstResult,
Integer maxResults,
ExecutionQueryDto executionQueryDto)
Get Executions (POST)
Queries for executions that fulfill given parameters through a JSON object.
|
void |
setApiClient(ApiClient apiClient) |
void |
setLocalExecutionVariableBinary(String id,
String varName,
File data,
String valueType)
Post Local Execution Variable (Binary)
Sets the serialized value for a binary variable or the binary value for a file variable in the context of a given execution by id.
|
okhttp3.Call |
setLocalExecutionVariableBinaryAsync(String id,
String varName,
File data,
String valueType,
ApiCallback<Void> _callback)
Post Local Execution Variable (Binary) (asynchronously)
Sets the serialized value for a binary variable or the binary value for a file variable in the context of a given execution by id.
|
okhttp3.Call |
setLocalExecutionVariableBinaryCall(String id,
String varName,
File data,
String valueType,
ApiCallback _callback)
Build call for setLocalExecutionVariableBinary
|
ApiResponse<Void> |
setLocalExecutionVariableBinaryWithHttpInfo(String id,
String varName,
File data,
String valueType)
Post Local Execution Variable (Binary)
Sets the serialized value for a binary variable or the binary value for a file variable in the context of a given execution by id.
|
void |
signalExecution(String id,
ExecutionTriggerDto executionTriggerDto)
Trigger Execution
Signals an execution by id.
|
okhttp3.Call |
signalExecutionAsync(String id,
ExecutionTriggerDto executionTriggerDto,
ApiCallback<Void> _callback)
Trigger Execution (asynchronously)
Signals an execution by id.
|
okhttp3.Call |
signalExecutionCall(String id,
ExecutionTriggerDto executionTriggerDto,
ApiCallback _callback)
Build call for signalExecution
|
ApiResponse<Void> |
signalExecutionWithHttpInfo(String id,
ExecutionTriggerDto executionTriggerDto)
Trigger Execution
Signals an execution by id.
|
void |
triggerEvent(String id,
String messageName,
ExecutionTriggerDto executionTriggerDto)
Trigger Message Event Subscription
Delivers a message to a specific execution by id, to trigger an existing message event subscription.
|
okhttp3.Call |
triggerEventAsync(String id,
String messageName,
ExecutionTriggerDto executionTriggerDto,
ApiCallback<Void> _callback)
Trigger Message Event Subscription (asynchronously)
Delivers a message to a specific execution by id, to trigger an existing message event subscription.
|
okhttp3.Call |
triggerEventCall(String id,
String messageName,
ExecutionTriggerDto executionTriggerDto,
ApiCallback _callback)
Build call for triggerEvent
|
ApiResponse<Void> |
triggerEventWithHttpInfo(String id,
String messageName,
ExecutionTriggerDto executionTriggerDto)
Trigger Message Event Subscription
Delivers a message to a specific execution by id, to trigger an existing message event subscription.
|
public ExecutionApi()
public ExecutionApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createIncidentCall(String id, CreateIncidentDto createIncidentDto, ApiCallback _callback) throws ApiException
id
- The id of the execution to create a new incident for. (required)createIncidentDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic IncidentDto createIncident(String id, CreateIncidentDto createIncidentDto) throws ApiException
id
- The id of the execution to create a new incident for. (required)createIncidentDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<IncidentDto> createIncidentWithHttpInfo(String id, CreateIncidentDto createIncidentDto) throws ApiException
id
- The id of the execution to create a new incident for. (required)createIncidentDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createIncidentAsync(String id, CreateIncidentDto createIncidentDto, ApiCallback<IncidentDto> _callback) throws ApiException
id
- The id of the execution to create a new incident for. (required)createIncidentDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call deleteLocalExecutionVariableCall(String id, String varName, ApiCallback _callback) throws ApiException
id
- The id of the execution to delete the variable from. (required)varName
- The name of the variable to delete. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void deleteLocalExecutionVariable(String id, String varName) throws ApiException
id
- The id of the execution to delete the variable from. (required)varName
- The name of the variable to delete. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteLocalExecutionVariableWithHttpInfo(String id, String varName) throws ApiException
id
- The id of the execution to delete the variable from. (required)varName
- The name of the variable to delete. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteLocalExecutionVariableAsync(String id, String varName, ApiCallback<Void> _callback) throws ApiException
id
- The id of the execution to delete the variable from. (required)varName
- The name of the variable to delete. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getExecutionCall(String id, ApiCallback _callback) throws ApiException
id
- The id of the execution to be retrieved. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic ExecutionDto getExecution(String id) throws ApiException
id
- The id of the execution to be retrieved. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ExecutionDto> getExecutionWithHttpInfo(String id) throws ApiException
id
- The id of the execution to be retrieved. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getExecutionAsync(String id, ApiCallback<ExecutionDto> _callback) throws ApiException
id
- The id of the execution to be retrieved. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getExecutionsCall(String businessKey, String processDefinitionId, String processDefinitionKey, String processInstanceId, String activityId, String signalEventSubscriptionName, String messageEventSubscriptionName, Boolean active, Boolean suspended, String incidentId, String incidentType, String incidentMessage, String incidentMessageLike, String tenantIdIn, String variables, String processVariables, Boolean variableNamesIgnoreCase, Boolean variableValuesIgnoreCase, String sortBy, String sortOrder, Integer firstResult, Integer maxResults, ApiCallback _callback) throws ApiException
businessKey
- Filter by the business key of the process instances the executions belong to. (optional)processDefinitionId
- Filter by the process definition the executions run on. (optional)processDefinitionKey
- Filter by the key of the process definition the executions run on. (optional)processInstanceId
- Filter by the id of the process instance the execution belongs to. (optional)activityId
- Filter by the id of the activity the execution currently executes. (optional)signalEventSubscriptionName
- Select only those executions that expect a signal of the given name. (optional)messageEventSubscriptionName
- Select only those executions that expect a message of the given name. (optional)active
- Only include active executions. Value may only be `true`, as `false` is the default behavior. (optional)suspended
- Only include suspended executions. Value may only be `true`, as `false` is the default behavior. (optional)incidentId
- Filter by the incident id. (optional)incidentType
- Filter by the incident type. See the [User Guide](/manual/develop/user-guide/process-engine/incidents/#incident-types) for a list of incident types. (optional)incidentMessage
- Filter by the incident message. Exact match. (optional)incidentMessageLike
- Filter by the incident message that the parameter is a substring of. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An execution must have one of the given tenant ids. (optional)variables
- Only include executions that have variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to; `gt` - greater than; `gteq` - greater than or equal to; `lt` - lower than; `lteq` - lower than or equal to; `like`. `key` and `value` may not contain underscore or comma characters. (optional)processVariables
- Only include executions that belong to a process instance with variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to. `key` and `value` may not contain underscore or comma characters. (optional)variableNamesIgnoreCase
- Match all variable names provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableName** and **variablename** are treated as equal. (optional)variableValuesIgnoreCase
- Match all variable values provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableValue** and **variablevalue** are treated as equal. (optional)sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<ExecutionDto> getExecutions(String businessKey, String processDefinitionId, String processDefinitionKey, String processInstanceId, String activityId, String signalEventSubscriptionName, String messageEventSubscriptionName, Boolean active, Boolean suspended, String incidentId, String incidentType, String incidentMessage, String incidentMessageLike, String tenantIdIn, String variables, String processVariables, Boolean variableNamesIgnoreCase, Boolean variableValuesIgnoreCase, String sortBy, String sortOrder, Integer firstResult, Integer maxResults) throws ApiException
businessKey
- Filter by the business key of the process instances the executions belong to. (optional)processDefinitionId
- Filter by the process definition the executions run on. (optional)processDefinitionKey
- Filter by the key of the process definition the executions run on. (optional)processInstanceId
- Filter by the id of the process instance the execution belongs to. (optional)activityId
- Filter by the id of the activity the execution currently executes. (optional)signalEventSubscriptionName
- Select only those executions that expect a signal of the given name. (optional)messageEventSubscriptionName
- Select only those executions that expect a message of the given name. (optional)active
- Only include active executions. Value may only be `true`, as `false` is the default behavior. (optional)suspended
- Only include suspended executions. Value may only be `true`, as `false` is the default behavior. (optional)incidentId
- Filter by the incident id. (optional)incidentType
- Filter by the incident type. See the [User Guide](/manual/develop/user-guide/process-engine/incidents/#incident-types) for a list of incident types. (optional)incidentMessage
- Filter by the incident message. Exact match. (optional)incidentMessageLike
- Filter by the incident message that the parameter is a substring of. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An execution must have one of the given tenant ids. (optional)variables
- Only include executions that have variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to; `gt` - greater than; `gteq` - greater than or equal to; `lt` - lower than; `lteq` - lower than or equal to; `like`. `key` and `value` may not contain underscore or comma characters. (optional)processVariables
- Only include executions that belong to a process instance with variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to. `key` and `value` may not contain underscore or comma characters. (optional)variableNamesIgnoreCase
- Match all variable names provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableName** and **variablename** are treated as equal. (optional)variableValuesIgnoreCase
- Match all variable values provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableValue** and **variablevalue** are treated as equal. (optional)sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ExecutionDto>> getExecutionsWithHttpInfo(String businessKey, String processDefinitionId, String processDefinitionKey, String processInstanceId, String activityId, String signalEventSubscriptionName, String messageEventSubscriptionName, Boolean active, Boolean suspended, String incidentId, String incidentType, String incidentMessage, String incidentMessageLike, String tenantIdIn, String variables, String processVariables, Boolean variableNamesIgnoreCase, Boolean variableValuesIgnoreCase, String sortBy, String sortOrder, Integer firstResult, Integer maxResults) throws ApiException
businessKey
- Filter by the business key of the process instances the executions belong to. (optional)processDefinitionId
- Filter by the process definition the executions run on. (optional)processDefinitionKey
- Filter by the key of the process definition the executions run on. (optional)processInstanceId
- Filter by the id of the process instance the execution belongs to. (optional)activityId
- Filter by the id of the activity the execution currently executes. (optional)signalEventSubscriptionName
- Select only those executions that expect a signal of the given name. (optional)messageEventSubscriptionName
- Select only those executions that expect a message of the given name. (optional)active
- Only include active executions. Value may only be `true`, as `false` is the default behavior. (optional)suspended
- Only include suspended executions. Value may only be `true`, as `false` is the default behavior. (optional)incidentId
- Filter by the incident id. (optional)incidentType
- Filter by the incident type. See the [User Guide](/manual/develop/user-guide/process-engine/incidents/#incident-types) for a list of incident types. (optional)incidentMessage
- Filter by the incident message. Exact match. (optional)incidentMessageLike
- Filter by the incident message that the parameter is a substring of. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An execution must have one of the given tenant ids. (optional)variables
- Only include executions that have variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to; `gt` - greater than; `gteq` - greater than or equal to; `lt` - lower than; `lteq` - lower than or equal to; `like`. `key` and `value` may not contain underscore or comma characters. (optional)processVariables
- Only include executions that belong to a process instance with variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to. `key` and `value` may not contain underscore or comma characters. (optional)variableNamesIgnoreCase
- Match all variable names provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableName** and **variablename** are treated as equal. (optional)variableValuesIgnoreCase
- Match all variable values provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableValue** and **variablevalue** are treated as equal. (optional)sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getExecutionsAsync(String businessKey, String processDefinitionId, String processDefinitionKey, String processInstanceId, String activityId, String signalEventSubscriptionName, String messageEventSubscriptionName, Boolean active, Boolean suspended, String incidentId, String incidentType, String incidentMessage, String incidentMessageLike, String tenantIdIn, String variables, String processVariables, Boolean variableNamesIgnoreCase, Boolean variableValuesIgnoreCase, String sortBy, String sortOrder, Integer firstResult, Integer maxResults, ApiCallback<List<ExecutionDto>> _callback) throws ApiException
businessKey
- Filter by the business key of the process instances the executions belong to. (optional)processDefinitionId
- Filter by the process definition the executions run on. (optional)processDefinitionKey
- Filter by the key of the process definition the executions run on. (optional)processInstanceId
- Filter by the id of the process instance the execution belongs to. (optional)activityId
- Filter by the id of the activity the execution currently executes. (optional)signalEventSubscriptionName
- Select only those executions that expect a signal of the given name. (optional)messageEventSubscriptionName
- Select only those executions that expect a message of the given name. (optional)active
- Only include active executions. Value may only be `true`, as `false` is the default behavior. (optional)suspended
- Only include suspended executions. Value may only be `true`, as `false` is the default behavior. (optional)incidentId
- Filter by the incident id. (optional)incidentType
- Filter by the incident type. See the [User Guide](/manual/develop/user-guide/process-engine/incidents/#incident-types) for a list of incident types. (optional)incidentMessage
- Filter by the incident message. Exact match. (optional)incidentMessageLike
- Filter by the incident message that the parameter is a substring of. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An execution must have one of the given tenant ids. (optional)variables
- Only include executions that have variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to; `gt` - greater than; `gteq` - greater than or equal to; `lt` - lower than; `lteq` - lower than or equal to; `like`. `key` and `value` may not contain underscore or comma characters. (optional)processVariables
- Only include executions that belong to a process instance with variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to. `key` and `value` may not contain underscore or comma characters. (optional)variableNamesIgnoreCase
- Match all variable names provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableName** and **variablename** are treated as equal. (optional)variableValuesIgnoreCase
- Match all variable values provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableValue** and **variablevalue** are treated as equal. (optional)sortBy
- Sort the results lexicographically by a given criterion. Must be used in conjunction with the sortOrder parameter. (optional)sortOrder
- Sort the results in a given order. Values may be asc for ascending order or desc for descending order. Must be used in conjunction with the sortBy parameter. (optional)firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getExecutionsCountCall(String businessKey, String processDefinitionId, String processDefinitionKey, String processInstanceId, String activityId, String signalEventSubscriptionName, String messageEventSubscriptionName, Boolean active, Boolean suspended, String incidentId, String incidentType, String incidentMessage, String incidentMessageLike, String tenantIdIn, String variables, String processVariables, Boolean variableNamesIgnoreCase, Boolean variableValuesIgnoreCase, ApiCallback _callback) throws ApiException
businessKey
- Filter by the business key of the process instances the executions belong to. (optional)processDefinitionId
- Filter by the process definition the executions run on. (optional)processDefinitionKey
- Filter by the key of the process definition the executions run on. (optional)processInstanceId
- Filter by the id of the process instance the execution belongs to. (optional)activityId
- Filter by the id of the activity the execution currently executes. (optional)signalEventSubscriptionName
- Select only those executions that expect a signal of the given name. (optional)messageEventSubscriptionName
- Select only those executions that expect a message of the given name. (optional)active
- Only include active executions. Value may only be `true`, as `false` is the default behavior. (optional)suspended
- Only include suspended executions. Value may only be `true`, as `false` is the default behavior. (optional)incidentId
- Filter by the incident id. (optional)incidentType
- Filter by the incident type. See the [User Guide](/manual/develop/user-guide/process-engine/incidents/#incident-types) for a list of incident types. (optional)incidentMessage
- Filter by the incident message. Exact match. (optional)incidentMessageLike
- Filter by the incident message that the parameter is a substring of. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An execution must have one of the given tenant ids. (optional)variables
- Only include executions that have variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to; `gt` - greater than; `gteq` - greater than or equal to; `lt` - lower than; `lteq` - lower than or equal to; `like`. `key` and `value` may not contain underscore or comma characters. (optional)processVariables
- Only include executions that belong to a process instance with variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to. `key` and `value` may not contain underscore or comma characters. (optional)variableNamesIgnoreCase
- Match all variable names provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableName** and **variablename** are treated as equal. (optional)variableValuesIgnoreCase
- Match all variable values provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableValue** and **variablevalue** are treated as equal. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic CountResultDto getExecutionsCount(String businessKey, String processDefinitionId, String processDefinitionKey, String processInstanceId, String activityId, String signalEventSubscriptionName, String messageEventSubscriptionName, Boolean active, Boolean suspended, String incidentId, String incidentType, String incidentMessage, String incidentMessageLike, String tenantIdIn, String variables, String processVariables, Boolean variableNamesIgnoreCase, Boolean variableValuesIgnoreCase) throws ApiException
businessKey
- Filter by the business key of the process instances the executions belong to. (optional)processDefinitionId
- Filter by the process definition the executions run on. (optional)processDefinitionKey
- Filter by the key of the process definition the executions run on. (optional)processInstanceId
- Filter by the id of the process instance the execution belongs to. (optional)activityId
- Filter by the id of the activity the execution currently executes. (optional)signalEventSubscriptionName
- Select only those executions that expect a signal of the given name. (optional)messageEventSubscriptionName
- Select only those executions that expect a message of the given name. (optional)active
- Only include active executions. Value may only be `true`, as `false` is the default behavior. (optional)suspended
- Only include suspended executions. Value may only be `true`, as `false` is the default behavior. (optional)incidentId
- Filter by the incident id. (optional)incidentType
- Filter by the incident type. See the [User Guide](/manual/develop/user-guide/process-engine/incidents/#incident-types) for a list of incident types. (optional)incidentMessage
- Filter by the incident message. Exact match. (optional)incidentMessageLike
- Filter by the incident message that the parameter is a substring of. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An execution must have one of the given tenant ids. (optional)variables
- Only include executions that have variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to; `gt` - greater than; `gteq` - greater than or equal to; `lt` - lower than; `lteq` - lower than or equal to; `like`. `key` and `value` may not contain underscore or comma characters. (optional)processVariables
- Only include executions that belong to a process instance with variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to. `key` and `value` may not contain underscore or comma characters. (optional)variableNamesIgnoreCase
- Match all variable names provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableName** and **variablename** are treated as equal. (optional)variableValuesIgnoreCase
- Match all variable values provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableValue** and **variablevalue** are treated as equal. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CountResultDto> getExecutionsCountWithHttpInfo(String businessKey, String processDefinitionId, String processDefinitionKey, String processInstanceId, String activityId, String signalEventSubscriptionName, String messageEventSubscriptionName, Boolean active, Boolean suspended, String incidentId, String incidentType, String incidentMessage, String incidentMessageLike, String tenantIdIn, String variables, String processVariables, Boolean variableNamesIgnoreCase, Boolean variableValuesIgnoreCase) throws ApiException
businessKey
- Filter by the business key of the process instances the executions belong to. (optional)processDefinitionId
- Filter by the process definition the executions run on. (optional)processDefinitionKey
- Filter by the key of the process definition the executions run on. (optional)processInstanceId
- Filter by the id of the process instance the execution belongs to. (optional)activityId
- Filter by the id of the activity the execution currently executes. (optional)signalEventSubscriptionName
- Select only those executions that expect a signal of the given name. (optional)messageEventSubscriptionName
- Select only those executions that expect a message of the given name. (optional)active
- Only include active executions. Value may only be `true`, as `false` is the default behavior. (optional)suspended
- Only include suspended executions. Value may only be `true`, as `false` is the default behavior. (optional)incidentId
- Filter by the incident id. (optional)incidentType
- Filter by the incident type. See the [User Guide](/manual/develop/user-guide/process-engine/incidents/#incident-types) for a list of incident types. (optional)incidentMessage
- Filter by the incident message. Exact match. (optional)incidentMessageLike
- Filter by the incident message that the parameter is a substring of. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An execution must have one of the given tenant ids. (optional)variables
- Only include executions that have variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to; `gt` - greater than; `gteq` - greater than or equal to; `lt` - lower than; `lteq` - lower than or equal to; `like`. `key` and `value` may not contain underscore or comma characters. (optional)processVariables
- Only include executions that belong to a process instance with variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to. `key` and `value` may not contain underscore or comma characters. (optional)variableNamesIgnoreCase
- Match all variable names provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableName** and **variablename** are treated as equal. (optional)variableValuesIgnoreCase
- Match all variable values provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableValue** and **variablevalue** are treated as equal. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getExecutionsCountAsync(String businessKey, String processDefinitionId, String processDefinitionKey, String processInstanceId, String activityId, String signalEventSubscriptionName, String messageEventSubscriptionName, Boolean active, Boolean suspended, String incidentId, String incidentType, String incidentMessage, String incidentMessageLike, String tenantIdIn, String variables, String processVariables, Boolean variableNamesIgnoreCase, Boolean variableValuesIgnoreCase, ApiCallback<CountResultDto> _callback) throws ApiException
businessKey
- Filter by the business key of the process instances the executions belong to. (optional)processDefinitionId
- Filter by the process definition the executions run on. (optional)processDefinitionKey
- Filter by the key of the process definition the executions run on. (optional)processInstanceId
- Filter by the id of the process instance the execution belongs to. (optional)activityId
- Filter by the id of the activity the execution currently executes. (optional)signalEventSubscriptionName
- Select only those executions that expect a signal of the given name. (optional)messageEventSubscriptionName
- Select only those executions that expect a message of the given name. (optional)active
- Only include active executions. Value may only be `true`, as `false` is the default behavior. (optional)suspended
- Only include suspended executions. Value may only be `true`, as `false` is the default behavior. (optional)incidentId
- Filter by the incident id. (optional)incidentType
- Filter by the incident type. See the [User Guide](/manual/develop/user-guide/process-engine/incidents/#incident-types) for a list of incident types. (optional)incidentMessage
- Filter by the incident message. Exact match. (optional)incidentMessageLike
- Filter by the incident message that the parameter is a substring of. (optional)tenantIdIn
- Filter by a comma-separated list of tenant ids. An execution must have one of the given tenant ids. (optional)variables
- Only include executions that have variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to; `gt` - greater than; `gteq` - greater than or equal to; `lt` - lower than; `lteq` - lower than or equal to; `like`. `key` and `value` may not contain underscore or comma characters. (optional)processVariables
- Only include executions that belong to a process instance with variables with certain values. Variable filtering expressions are comma-separated and are structured as follows: A valid parameter value has the form `key_operator_value`. `key` is the variable name, `operator` is the comparison operator to be used and `value` the variable value. **Note:** Values are always treated as `String` objects on server side. Valid operator values are: `eq` - equal to; `neq` - not equal to. `key` and `value` may not contain underscore or comma characters. (optional)variableNamesIgnoreCase
- Match all variable names provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableName** and **variablename** are treated as equal. (optional)variableValuesIgnoreCase
- Match all variable values provided in `variables` and `processVariables` case- insensitively. If set to `true` **variableValue** and **variablevalue** are treated as equal. (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getLocalExecutionVariableCall(String id, String varName, Boolean deserializeValue, ApiCallback _callback) throws ApiException
id
- The id of the execution to retrieve the variable from. (required)varName
- The name of the variable to get. (required)deserializeValue
- Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on server side (default `true`). If set to `true`, a serializable variable will be deserialized on server side and transformed to JSON using [Jackson's](https://github.com/FasterXML/jackson) POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API's classpath. If set to `false`, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML. **Note:** While `true` is the default value for reasons of backward compatibility, we recommend setting this parameter to `false` when developing web applications that are independent of the Java process applications deployed to the engine. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic VariableValueDto getLocalExecutionVariable(String id, String varName, Boolean deserializeValue) throws ApiException
id
- The id of the execution to retrieve the variable from. (required)varName
- The name of the variable to get. (required)deserializeValue
- Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on server side (default `true`). If set to `true`, a serializable variable will be deserialized on server side and transformed to JSON using [Jackson's](https://github.com/FasterXML/jackson) POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API's classpath. If set to `false`, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML. **Note:** While `true` is the default value for reasons of backward compatibility, we recommend setting this parameter to `false` when developing web applications that are independent of the Java process applications deployed to the engine. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<VariableValueDto> getLocalExecutionVariableWithHttpInfo(String id, String varName, Boolean deserializeValue) throws ApiException
id
- The id of the execution to retrieve the variable from. (required)varName
- The name of the variable to get. (required)deserializeValue
- Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on server side (default `true`). If set to `true`, a serializable variable will be deserialized on server side and transformed to JSON using [Jackson's](https://github.com/FasterXML/jackson) POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API's classpath. If set to `false`, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML. **Note:** While `true` is the default value for reasons of backward compatibility, we recommend setting this parameter to `false` when developing web applications that are independent of the Java process applications deployed to the engine. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getLocalExecutionVariableAsync(String id, String varName, Boolean deserializeValue, ApiCallback<VariableValueDto> _callback) throws ApiException
id
- The id of the execution to retrieve the variable from. (required)varName
- The name of the variable to get. (required)deserializeValue
- Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on server side (default `true`). If set to `true`, a serializable variable will be deserialized on server side and transformed to JSON using [Jackson's](https://github.com/FasterXML/jackson) POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API's classpath. If set to `false`, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML. **Note:** While `true` is the default value for reasons of backward compatibility, we recommend setting this parameter to `false` when developing web applications that are independent of the Java process applications deployed to the engine. (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getLocalExecutionVariableBinaryCall(String id, String varName, ApiCallback _callback) throws ApiException
id
- The id of the execution to retrieve the variable from. (required)varName
- The name of the variable to get. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic File getLocalExecutionVariableBinary(String id, String varName) throws ApiException
id
- The id of the execution to retrieve the variable from. (required)varName
- The name of the variable to get. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> getLocalExecutionVariableBinaryWithHttpInfo(String id, String varName) throws ApiException
id
- The id of the execution to retrieve the variable from. (required)varName
- The name of the variable to get. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getLocalExecutionVariableBinaryAsync(String id, String varName, ApiCallback<File> _callback) throws ApiException
id
- The id of the execution to retrieve the variable from. (required)varName
- The name of the variable to get. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getLocalExecutionVariablesCall(String id, Boolean deserializeValues, ApiCallback _callback) throws ApiException
id
- The id of the execution to retrieve the variables from. (required)deserializeValues
- Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on server side (default `true`). If set to `true`, a serializable variable will be deserialized on server side and transformed to JSON using [Jackson's](https://github.com/FasterXML/jackson) POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API's classpath. If set to `false`, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML. **Note:** While `true` is the default value for reasons of backward compatibility, we recommend setting this parameter to `false` when developing web applications that are independent of the Java process applications deployed to the engine. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic Map<String,VariableValueDto> getLocalExecutionVariables(String id, Boolean deserializeValues) throws ApiException
id
- The id of the execution to retrieve the variables from. (required)deserializeValues
- Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on server side (default `true`). If set to `true`, a serializable variable will be deserialized on server side and transformed to JSON using [Jackson's](https://github.com/FasterXML/jackson) POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API's classpath. If set to `false`, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML. **Note:** While `true` is the default value for reasons of backward compatibility, we recommend setting this parameter to `false` when developing web applications that are independent of the Java process applications deployed to the engine. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Map<String,VariableValueDto>> getLocalExecutionVariablesWithHttpInfo(String id, Boolean deserializeValues) throws ApiException
id
- The id of the execution to retrieve the variables from. (required)deserializeValues
- Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on server side (default `true`). If set to `true`, a serializable variable will be deserialized on server side and transformed to JSON using [Jackson's](https://github.com/FasterXML/jackson) POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API's classpath. If set to `false`, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML. **Note:** While `true` is the default value for reasons of backward compatibility, we recommend setting this parameter to `false` when developing web applications that are independent of the Java process applications deployed to the engine. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getLocalExecutionVariablesAsync(String id, Boolean deserializeValues, ApiCallback<Map<String,VariableValueDto>> _callback) throws ApiException
id
- The id of the execution to retrieve the variables from. (required)deserializeValues
- Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on server side (default `true`). If set to `true`, a serializable variable will be deserialized on server side and transformed to JSON using [Jackson's](https://github.com/FasterXML/jackson) POJO/bean property introspection feature. Note that this requires the Java classes of the variable value to be on the REST API's classpath. If set to `false`, a serializable variable will be returned in its serialized format. For example, a variable that is serialized as XML will be returned as a JSON string containing XML. **Note:** While `true` is the default value for reasons of backward compatibility, we recommend setting this parameter to `false` when developing web applications that are independent of the Java process applications deployed to the engine. (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getMessageEventSubscriptionCall(String id, String messageName, ApiCallback _callback) throws ApiException
id
- The id of the execution that holds the subscription. (required)messageName
- The name of the message that the subscription corresponds to. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic EventSubscriptionDto getMessageEventSubscription(String id, String messageName) throws ApiException
id
- The id of the execution that holds the subscription. (required)messageName
- The name of the message that the subscription corresponds to. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EventSubscriptionDto> getMessageEventSubscriptionWithHttpInfo(String id, String messageName) throws ApiException
id
- The id of the execution that holds the subscription. (required)messageName
- The name of the message that the subscription corresponds to. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getMessageEventSubscriptionAsync(String id, String messageName, ApiCallback<EventSubscriptionDto> _callback) throws ApiException
id
- The id of the execution that holds the subscription. (required)messageName
- The name of the message that the subscription corresponds to. (required)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call modifyLocalExecutionVariablesCall(String id, PatchVariablesDto patchVariablesDto, ApiCallback _callback) throws ApiException
id
- The id of the execution to set variables for. (required)patchVariablesDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void modifyLocalExecutionVariables(String id, PatchVariablesDto patchVariablesDto) throws ApiException
id
- The id of the execution to set variables for. (required)patchVariablesDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> modifyLocalExecutionVariablesWithHttpInfo(String id, PatchVariablesDto patchVariablesDto) throws ApiException
id
- The id of the execution to set variables for. (required)patchVariablesDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call modifyLocalExecutionVariablesAsync(String id, PatchVariablesDto patchVariablesDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the execution to set variables for. (required)patchVariablesDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call putLocalExecutionVariableCall(String id, String varName, VariableValueDto variableValueDto, ApiCallback _callback) throws ApiException
id
- The id of the execution to set the variable for. (required)varName
- The name of the variable to set. (required)variableValueDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void putLocalExecutionVariable(String id, String varName, VariableValueDto variableValueDto) throws ApiException
id
- The id of the execution to set the variable for. (required)varName
- The name of the variable to set. (required)variableValueDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> putLocalExecutionVariableWithHttpInfo(String id, String varName, VariableValueDto variableValueDto) throws ApiException
id
- The id of the execution to set the variable for. (required)varName
- The name of the variable to set. (required)variableValueDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call putLocalExecutionVariableAsync(String id, String varName, VariableValueDto variableValueDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the execution to set the variable for. (required)varName
- The name of the variable to set. (required)variableValueDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call queryExecutionsCall(Integer firstResult, Integer maxResults, ExecutionQueryDto executionQueryDto, ApiCallback _callback) throws ApiException
firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)executionQueryDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic List<ExecutionDto> queryExecutions(Integer firstResult, Integer maxResults, ExecutionQueryDto executionQueryDto) throws ApiException
firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)executionQueryDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<List<ExecutionDto>> queryExecutionsWithHttpInfo(Integer firstResult, Integer maxResults, ExecutionQueryDto executionQueryDto) throws ApiException
firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)executionQueryDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call queryExecutionsAsync(Integer firstResult, Integer maxResults, ExecutionQueryDto executionQueryDto, ApiCallback<List<ExecutionDto>> _callback) throws ApiException
firstResult
- Pagination of results. Specifies the index of the first result to return. (optional)maxResults
- Pagination of results. Specifies the maximum number of results to return. Will return less results if there are no more results left. (optional)executionQueryDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call queryExecutionsCountCall(ExecutionQueryDto executionQueryDto, ApiCallback _callback) throws ApiException
executionQueryDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic CountResultDto queryExecutionsCount(ExecutionQueryDto executionQueryDto) throws ApiException
executionQueryDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<CountResultDto> queryExecutionsCountWithHttpInfo(ExecutionQueryDto executionQueryDto) throws ApiException
executionQueryDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call queryExecutionsCountAsync(ExecutionQueryDto executionQueryDto, ApiCallback<CountResultDto> _callback) throws ApiException
executionQueryDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call setLocalExecutionVariableBinaryCall(String id, String varName, File data, String valueType, ApiCallback _callback) throws ApiException
id
- The id of the execution to set the variable for. (required)varName
- The name of the variable to set. (required)data
- The binary data to be set. For File variables, this multipart can contain the filename, binary value and MIME type of the file variable to be set Only the filename is mandatory. (optional)valueType
- The name of the variable type. Either Bytes for a byte array variable or File for a file variable. (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void setLocalExecutionVariableBinary(String id, String varName, File data, String valueType) throws ApiException
id
- The id of the execution to set the variable for. (required)varName
- The name of the variable to set. (required)data
- The binary data to be set. For File variables, this multipart can contain the filename, binary value and MIME type of the file variable to be set Only the filename is mandatory. (optional)valueType
- The name of the variable type. Either Bytes for a byte array variable or File for a file variable. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> setLocalExecutionVariableBinaryWithHttpInfo(String id, String varName, File data, String valueType) throws ApiException
id
- The id of the execution to set the variable for. (required)varName
- The name of the variable to set. (required)data
- The binary data to be set. For File variables, this multipart can contain the filename, binary value and MIME type of the file variable to be set Only the filename is mandatory. (optional)valueType
- The name of the variable type. Either Bytes for a byte array variable or File for a file variable. (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call setLocalExecutionVariableBinaryAsync(String id, String varName, File data, String valueType, ApiCallback<Void> _callback) throws ApiException
id
- The id of the execution to set the variable for. (required)varName
- The name of the variable to set. (required)data
- The binary data to be set. For File variables, this multipart can contain the filename, binary value and MIME type of the file variable to be set Only the filename is mandatory. (optional)valueType
- The name of the variable type. Either Bytes for a byte array variable or File for a file variable. (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call signalExecutionCall(String id, ExecutionTriggerDto executionTriggerDto, ApiCallback _callback) throws ApiException
id
- The id of the execution to signal. (required)executionTriggerDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void signalExecution(String id, ExecutionTriggerDto executionTriggerDto) throws ApiException
id
- The id of the execution to signal. (required)executionTriggerDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> signalExecutionWithHttpInfo(String id, ExecutionTriggerDto executionTriggerDto) throws ApiException
id
- The id of the execution to signal. (required)executionTriggerDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call signalExecutionAsync(String id, ExecutionTriggerDto executionTriggerDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the execution to signal. (required)executionTriggerDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call triggerEventCall(String id, String messageName, ExecutionTriggerDto executionTriggerDto, ApiCallback _callback) throws ApiException
id
- The id of the execution to submit the message to. (required)messageName
- The name of the message that the addressed subscription corresponds to. (required)executionTriggerDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void triggerEvent(String id, String messageName, ExecutionTriggerDto executionTriggerDto) throws ApiException
id
- The id of the execution to submit the message to. (required)messageName
- The name of the message that the addressed subscription corresponds to. (required)executionTriggerDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> triggerEventWithHttpInfo(String id, String messageName, ExecutionTriggerDto executionTriggerDto) throws ApiException
id
- The id of the execution to submit the message to. (required)messageName
- The name of the message that the addressed subscription corresponds to. (required)executionTriggerDto
- (optional)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call triggerEventAsync(String id, String messageName, ExecutionTriggerDto executionTriggerDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the execution to submit the message to. (required)messageName
- The name of the message that the addressed subscription corresponds to. (required)executionTriggerDto
- (optional)_callback
- The callback to be executed when the API call finishesApiException
- If fail to process the API call, e.g. serializing the request body objectCopyright © 2022. All rights reserved.