public class TaskVariableApi extends Object
Constructor and Description |
---|
TaskVariableApi() |
TaskVariableApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
deleteTaskVariable(String id,
String varName)
Removes a variable that is visible to a task.
|
okhttp3.Call |
deleteTaskVariableAsync(String id,
String varName,
ApiCallback<Void> _callback)
(asynchronously)
Removes a variable that is visible to a task.
|
okhttp3.Call |
deleteTaskVariableCall(String id,
String varName,
ApiCallback _callback)
Build call for deleteTaskVariable
|
ApiResponse<Void> |
deleteTaskVariableWithHttpInfo(String id,
String varName)
Removes a variable that is visible to a task.
|
ApiClient |
getApiClient() |
VariableValueDto |
getTaskVariable(String id,
String varName,
Boolean deserializeValue)
Retrieves a variable from the context of a given task.
|
okhttp3.Call |
getTaskVariableAsync(String id,
String varName,
Boolean deserializeValue,
ApiCallback<VariableValueDto> _callback)
(asynchronously)
Retrieves a variable from the context of a given task.
|
File |
getTaskVariableBinary(String id,
String varName)
Retrieves a binary variable from the context of a given task.
|
okhttp3.Call |
getTaskVariableBinaryAsync(String id,
String varName,
ApiCallback<File> _callback)
(asynchronously)
Retrieves a binary variable from the context of a given task.
|
okhttp3.Call |
getTaskVariableBinaryCall(String id,
String varName,
ApiCallback _callback)
Build call for getTaskVariableBinary
|
ApiResponse<File> |
getTaskVariableBinaryWithHttpInfo(String id,
String varName)
Retrieves a binary variable from the context of a given task.
|
okhttp3.Call |
getTaskVariableCall(String id,
String varName,
Boolean deserializeValue,
ApiCallback _callback)
Build call for getTaskVariable
|
Map<String,VariableValueDto> |
getTaskVariables(String id,
Boolean deserializeValue)
Retrieves all variables visible from the task.
|
okhttp3.Call |
getTaskVariablesAsync(String id,
Boolean deserializeValue,
ApiCallback<Map<String,VariableValueDto>> _callback)
(asynchronously)
Retrieves all variables visible from the task.
|
okhttp3.Call |
getTaskVariablesCall(String id,
Boolean deserializeValue,
ApiCallback _callback)
Build call for getTaskVariables
|
ApiResponse<Map<String,VariableValueDto>> |
getTaskVariablesWithHttpInfo(String id,
Boolean deserializeValue)
Retrieves all variables visible from the task.
|
ApiResponse<VariableValueDto> |
getTaskVariableWithHttpInfo(String id,
String varName,
Boolean deserializeValue)
Retrieves a variable from the context of a given task.
|
void |
modifyTaskVariables(String id,
PatchVariablesDto patchVariablesDto)
Updates or deletes the variables visible from the task.
|
okhttp3.Call |
modifyTaskVariablesAsync(String id,
PatchVariablesDto patchVariablesDto,
ApiCallback<Void> _callback)
(asynchronously)
Updates or deletes the variables visible from the task.
|
okhttp3.Call |
modifyTaskVariablesCall(String id,
PatchVariablesDto patchVariablesDto,
ApiCallback _callback)
Build call for modifyTaskVariables
|
ApiResponse<Void> |
modifyTaskVariablesWithHttpInfo(String id,
PatchVariablesDto patchVariablesDto)
Updates or deletes the variables visible from the task.
|
void |
putTaskVariable(String id,
String varName,
VariableValueDto variableValueDto)
Updates a process variable that is visible from the Task scope.
|
okhttp3.Call |
putTaskVariableAsync(String id,
String varName,
VariableValueDto variableValueDto,
ApiCallback<Void> _callback)
(asynchronously)
Updates a process variable that is visible from the Task scope.
|
okhttp3.Call |
putTaskVariableCall(String id,
String varName,
VariableValueDto variableValueDto,
ApiCallback _callback)
Build call for putTaskVariable
|
ApiResponse<Void> |
putTaskVariableWithHttpInfo(String id,
String varName,
VariableValueDto variableValueDto)
Updates a process variable that is visible from the Task scope.
|
void |
setApiClient(ApiClient apiClient) |
void |
setBinaryTaskVariable(String id,
String varName,
File data,
String valueType)
Sets the serialized value for a binary variable or the binary value for a file variable visible from the task.
|
okhttp3.Call |
setBinaryTaskVariableAsync(String id,
String varName,
File data,
String valueType,
ApiCallback<Void> _callback)
(asynchronously)
Sets the serialized value for a binary variable or the binary value for a file variable visible from the task.
|
okhttp3.Call |
setBinaryTaskVariableCall(String id,
String varName,
File data,
String valueType,
ApiCallback _callback)
Build call for setBinaryTaskVariable
|
ApiResponse<Void> |
setBinaryTaskVariableWithHttpInfo(String id,
String varName,
File data,
String valueType)
Sets the serialized value for a binary variable or the binary value for a file variable visible from the task.
|
public TaskVariableApi()
public TaskVariableApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call deleteTaskVariableCall(String id, String varName, ApiCallback _callback) throws ApiException
id
- The id of the task to delete the variable from. (required)varName
- The name of the variable to be removed. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void deleteTaskVariable(String id, String varName) throws ApiException
id
- The id of the task to delete the variable from. (required)varName
- The name of the variable to be removed. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deleteTaskVariableWithHttpInfo(String id, String varName) throws ApiException
id
- The id of the task to delete the variable from. (required)varName
- The name of the variable to be removed. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteTaskVariableAsync(String id, String varName, ApiCallback<Void> _callback) throws ApiException
id
- The id of the task to delete the variable from. (required)varName
- The name of the variable to be removed. (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 getTaskVariableCall(String id, String varName, Boolean deserializeValue, ApiCallback _callback) throws ApiException
id
- The id of the task 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 the 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, default to true)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic VariableValueDto getTaskVariable(String id, String varName, Boolean deserializeValue) throws ApiException
id
- The id of the task 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 the 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, default to true)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<VariableValueDto> getTaskVariableWithHttpInfo(String id, String varName, Boolean deserializeValue) throws ApiException
id
- The id of the task 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 the 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, default to true)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getTaskVariableAsync(String id, String varName, Boolean deserializeValue, ApiCallback<VariableValueDto> _callback) throws ApiException
id
- The id of the task 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 the 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, default to true)_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 getTaskVariableBinaryCall(String id, String varName, ApiCallback _callback) throws ApiException
id
- The id of the task to retrieve the variable for. (required)varName
- The name of the variable to retrieve. (required)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic File getTaskVariableBinary(String id, String varName) throws ApiException
id
- The id of the task to retrieve the variable for. (required)varName
- The name of the variable to retrieve. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<File> getTaskVariableBinaryWithHttpInfo(String id, String varName) throws ApiException
id
- The id of the task to retrieve the variable for. (required)varName
- The name of the variable to retrieve. (required)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getTaskVariableBinaryAsync(String id, String varName, ApiCallback<File> _callback) throws ApiException
id
- The id of the task to retrieve the variable for. (required)varName
- The name of the variable to retrieve. (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 getTaskVariablesCall(String id, Boolean deserializeValue, ApiCallback _callback) throws ApiException
id
- The id of the task to retrieve the variables from. (required)deserializeValue
- Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on the 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, default to true)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic Map<String,VariableValueDto> getTaskVariables(String id, Boolean deserializeValue) throws ApiException
id
- The id of the task to retrieve the variables from. (required)deserializeValue
- Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on the 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, default to true)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Map<String,VariableValueDto>> getTaskVariablesWithHttpInfo(String id, Boolean deserializeValue) throws ApiException
id
- The id of the task to retrieve the variables from. (required)deserializeValue
- Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on the 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, default to true)ApiException
- If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getTaskVariablesAsync(String id, Boolean deserializeValue, ApiCallback<Map<String,VariableValueDto>> _callback) throws ApiException
id
- The id of the task to retrieve the variables from. (required)deserializeValue
- Determines whether serializable variable values (typically variables that store custom Java objects) should be deserialized on the 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, default to true)_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 modifyTaskVariablesCall(String id, PatchVariablesDto patchVariablesDto, ApiCallback _callback) throws ApiException
id
- The id of the task to set variables for. (required)patchVariablesDto
- (optional)_callback
- Callback for upload/download progressApiException
- If fail to serialize the request body objectpublic void modifyTaskVariables(String id, PatchVariablesDto patchVariablesDto) throws ApiException
id
- The id of the task 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> modifyTaskVariablesWithHttpInfo(String id, PatchVariablesDto patchVariablesDto) throws ApiException
id
- The id of the task 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 modifyTaskVariablesAsync(String id, PatchVariablesDto patchVariablesDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the task 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 putTaskVariableCall(String id, String varName, VariableValueDto variableValueDto, ApiCallback _callback) throws ApiException
id
- The id of the task 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 putTaskVariable(String id, String varName, VariableValueDto variableValueDto) throws ApiException
id
- The id of the task 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> putTaskVariableWithHttpInfo(String id, String varName, VariableValueDto variableValueDto) throws ApiException
id
- The id of the task 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 putTaskVariableAsync(String id, String varName, VariableValueDto variableValueDto, ApiCallback<Void> _callback) throws ApiException
id
- The id of the task 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 setBinaryTaskVariableCall(String id, String varName, File data, String valueType, ApiCallback _callback) throws ApiException
id
- The id of the task to retrieve the variable for. (required)varName
- The name of the variable to retrieve. (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 setBinaryTaskVariable(String id, String varName, File data, String valueType) throws ApiException
id
- The id of the task to retrieve the variable for. (required)varName
- The name of the variable to retrieve. (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> setBinaryTaskVariableWithHttpInfo(String id, String varName, File data, String valueType) throws ApiException
id
- The id of the task to retrieve the variable for. (required)varName
- The name of the variable to retrieve. (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 setBinaryTaskVariableAsync(String id, String varName, File data, String valueType, ApiCallback<Void> _callback) throws ApiException
id
- The id of the task to retrieve the variable for. (required)varName
- The name of the variable to retrieve. (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 objectCopyright © 2022. All rights reserved.