public class TaskVariableApi extends Object
Constructor and Description |
---|
TaskVariableApi() |
TaskVariableApi(ApiClient apiClient) |
Modifier and Type | Method and Description |
---|---|
void |
deleteTaskVariable(String id,
String varName)
Delete Task Variable
Removes a variable that is visible to a task.
|
okhttp3.Call |
deleteTaskVariableAsync(String id,
String varName,
ApiCallback<Void> _callback)
Delete Task Variable (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)
Delete Task Variable
Removes a variable that is visible to a task.
|
ApiClient |
getApiClient() |
VariableValueDto |
getTaskVariable(String id,
String varName,
Boolean deserializeValue)
Get Task Variable
Retrieves a variable from the context of a given task.
|
okhttp3.Call |
getTaskVariableAsync(String id,
String varName,
Boolean deserializeValue,
ApiCallback<VariableValueDto> _callback)
Get Task Variable (asynchronously)
Retrieves a variable from the context of a given task.
|
File |
getTaskVariableBinary(String id,
String varName)
Get Task Variable (Binary)
Retrieves a binary variable from the context of a given task.
|
okhttp3.Call |
getTaskVariableBinaryAsync(String id,
String varName,
ApiCallback<File> _callback)
Get Task Variable (Binary) (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)
Get Task Variable (Binary)
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 deserializeValues)
Get Task Variables
Retrieves all variables visible from the task.
|
okhttp3.Call |
getTaskVariablesAsync(String id,
Boolean deserializeValues,
ApiCallback<Map<String,VariableValueDto>> _callback)
Get Task Variables (asynchronously)
Retrieves all variables visible from the task.
|
okhttp3.Call |
getTaskVariablesCall(String id,
Boolean deserializeValues,
ApiCallback _callback)
Build call for getTaskVariables
|
ApiResponse<Map<String,VariableValueDto>> |
getTaskVariablesWithHttpInfo(String id,
Boolean deserializeValues)
Get Task Variables
Retrieves all variables visible from the task.
|
ApiResponse<VariableValueDto> |
getTaskVariableWithHttpInfo(String id,
String varName,
Boolean deserializeValue)
Get Task Variable
Retrieves a variable from the context of a given task.
|
void |
modifyTaskVariables(String id,
PatchVariablesDto patchVariablesDto)
Update/Delete Task Variables
Updates or deletes the variables visible from the task.
|
okhttp3.Call |
modifyTaskVariablesAsync(String id,
PatchVariablesDto patchVariablesDto,
ApiCallback<Void> _callback)
Update/Delete Task Variables (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)
Update/Delete Task Variables
Updates or deletes the variables visible from the task.
|
void |
putTaskVariable(String id,
String varName,
VariableValueDto variableValueDto)
Update Task Variable
Updates a process variable that is visible from the Task scope.
|
okhttp3.Call |
putTaskVariableAsync(String id,
String varName,
VariableValueDto variableValueDto,
ApiCallback<Void> _callback)
Update Task Variable (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)
Update Task Variable
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)
Update Task Variable (Binary)
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)
Update Task Variable (Binary) (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)
Update Task Variable (Binary)
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 deserializeValues, ApiCallback _callback) throws ApiException
id
- The id of the task to retrieve the variables from. (required)deserializeValues
- 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 deserializeValues) throws ApiException
id
- The id of the task to retrieve the variables from. (required)deserializeValues
- 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 deserializeValues) throws ApiException
id
- The id of the task to retrieve the variables from. (required)deserializeValues
- 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 deserializeValues, ApiCallback<Map<String,VariableValueDto>> _callback) throws ApiException
id
- The id of the task to retrieve the variables from. (required)deserializeValues
- 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.