Package com.redhat.parodos.sdk.api
Class WorkflowDefinitionApi
java.lang.Object
com.redhat.parodos.sdk.api.WorkflowDefinitionApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintReturns information about a workflow definition by idokhttp3.CallgetWorkFlowDefinitionByIdAsync(UUID id, ApiCallback<WorkFlowDefinitionResponseDTO> _callback) Returns information about a workflow definition by id (asynchronously)okhttp3.CallgetWorkFlowDefinitionByIdCall(UUID id, ApiCallback _callback) Build call for getWorkFlowDefinitionByIdReturns information about a workflow definition by idgetWorkFlowDefinitions(String name) Returns a list of workflow definitionokhttp3.CallgetWorkFlowDefinitionsAsync(String name, ApiCallback<List<WorkFlowDefinitionResponseDTO>> _callback) Returns a list of workflow definition (asynchronously)okhttp3.CallgetWorkFlowDefinitionsCall(String name, ApiCallback _callback) Build call for getWorkFlowDefinitionsReturns a list of workflow definitionvoidsetApiClient(ApiClient apiClient) voidsetCustomBaseUrl(String customBaseUrl) voidsetHostIndex(int hostIndex) updateParameter(String workflowDefinitionName, String valueProviderName, List<WorkParameterValueRequestDTO> workParameterValueRequestDTO) Returns updated parameter valueokhttp3.CallupdateParameterAsync(String workflowDefinitionName, String valueProviderName, List<WorkParameterValueRequestDTO> workParameterValueRequestDTO, ApiCallback<List<WorkParameterValueResponseDTO>> _callback) Returns updated parameter value (asynchronously)okhttp3.CallupdateParameterCall(String workflowDefinitionName, String valueProviderName, List<WorkParameterValueRequestDTO> workParameterValueRequestDTO, ApiCallback _callback) Build call for updateParameterupdateParameterWithHttpInfo(String workflowDefinitionName, String valueProviderName, List<WorkParameterValueRequestDTO> workParameterValueRequestDTO) Returns updated parameter value
-
Constructor Details
-
WorkflowDefinitionApi
public WorkflowDefinitionApi() -
WorkflowDefinitionApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getHostIndex
public int getHostIndex() -
setHostIndex
public void setHostIndex(int hostIndex) -
getCustomBaseUrl
-
setCustomBaseUrl
-
getWorkFlowDefinitionByIdCall
public okhttp3.Call getWorkFlowDefinitionByIdCall(UUID id, ApiCallback _callback) throws ApiException Build call for getWorkFlowDefinitionById- Parameters:
id- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getWorkFlowDefinitionById
Returns information about a workflow definition by id- Parameters:
id- (required)- Returns:
- WorkFlowDefinitionResponseDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getWorkFlowDefinitionByIdWithHttpInfo
public ApiResponse<WorkFlowDefinitionResponseDTO> getWorkFlowDefinitionByIdWithHttpInfo(UUID id) throws ApiException Returns information about a workflow definition by id- Parameters:
id- (required)- Returns:
- ApiResponse<WorkFlowDefinitionResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getWorkFlowDefinitionByIdAsync
public okhttp3.Call getWorkFlowDefinitionByIdAsync(UUID id, ApiCallback<WorkFlowDefinitionResponseDTO> _callback) throws ApiException Returns information about a workflow definition by id (asynchronously)- Parameters:
id- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getWorkFlowDefinitionsCall
public okhttp3.Call getWorkFlowDefinitionsCall(String name, ApiCallback _callback) throws ApiException Build call for getWorkFlowDefinitions- Parameters:
name- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getWorkFlowDefinitions
Returns a list of workflow definition- Parameters:
name- (optional)- Returns:
- List<WorkFlowDefinitionResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getWorkFlowDefinitionsWithHttpInfo
public ApiResponse<List<WorkFlowDefinitionResponseDTO>> getWorkFlowDefinitionsWithHttpInfo(String name) throws ApiException Returns a list of workflow definition- Parameters:
name- (optional)- Returns:
- ApiResponse<List<WorkFlowDefinitionResponseDTO>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getWorkFlowDefinitionsAsync
public okhttp3.Call getWorkFlowDefinitionsAsync(String name, ApiCallback<List<WorkFlowDefinitionResponseDTO>> _callback) throws ApiException Returns a list of workflow definition (asynchronously)- Parameters:
name- (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
updateParameterCall
public okhttp3.Call updateParameterCall(String workflowDefinitionName, String valueProviderName, List<WorkParameterValueRequestDTO> workParameterValueRequestDTO, ApiCallback _callback) throws ApiException Build call for updateParameter- Parameters:
workflowDefinitionName- workflow Definition Name (required)valueProviderName- valueProvider Name. It can be referenced to 'valueProviderName' in [GET /getWorkFlowDefinitions](#/Workflow%20Definition/getWorkFlowDefinitions) (required)workParameterValueRequestDTO- (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateParameter
public List<WorkParameterValueResponseDTO> updateParameter(String workflowDefinitionName, String valueProviderName, List<WorkParameterValueRequestDTO> workParameterValueRequestDTO) throws ApiException Returns updated parameter value- Parameters:
workflowDefinitionName- workflow Definition Name (required)valueProviderName- valueProvider Name. It can be referenced to 'valueProviderName' in [GET /getWorkFlowDefinitions](#/Workflow%20Definition/getWorkFlowDefinitions) (required)workParameterValueRequestDTO- (required)- Returns:
- List<WorkParameterValueResponseDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateParameterWithHttpInfo
public ApiResponse<List<WorkParameterValueResponseDTO>> updateParameterWithHttpInfo(String workflowDefinitionName, String valueProviderName, List<WorkParameterValueRequestDTO> workParameterValueRequestDTO) throws ApiException Returns updated parameter value- Parameters:
workflowDefinitionName- workflow Definition Name (required)valueProviderName- valueProvider Name. It can be referenced to 'valueProviderName' in [GET /getWorkFlowDefinitions](#/Workflow%20Definition/getWorkFlowDefinitions) (required)workParameterValueRequestDTO- (required)- Returns:
- ApiResponse<List<WorkParameterValueResponseDTO>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateParameterAsync
public okhttp3.Call updateParameterAsync(String workflowDefinitionName, String valueProviderName, List<WorkParameterValueRequestDTO> workParameterValueRequestDTO, ApiCallback<List<WorkParameterValueResponseDTO>> _callback) throws ApiException Returns updated parameter value (asynchronously)- Parameters:
workflowDefinitionName- workflow Definition Name (required)valueProviderName- valueProvider Name. It can be referenced to 'valueProviderName' in [GET /getWorkFlowDefinitions](#/Workflow%20Definition/getWorkFlowDefinitions) (required)workParameterValueRequestDTO- (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-