Class WorkflowDefinitionApi

java.lang.Object
com.redhat.parodos.sdk.api.WorkflowDefinitionApi

public class WorkflowDefinitionApi extends Object
  • Constructor Details

    • WorkflowDefinitionApi

      public WorkflowDefinitionApi()
    • WorkflowDefinitionApi

      public WorkflowDefinitionApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • getHostIndex

      public int getHostIndex()
    • setHostIndex

      public void setHostIndex(int hostIndex)
    • getCustomBaseUrl

      public String getCustomBaseUrl()
    • setCustomBaseUrl

      public void setCustomBaseUrl(String customBaseUrl)
    • 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

      public WorkFlowDefinitionResponseDTO getWorkFlowDefinitionById(UUID id) throws ApiException
      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

      public List<WorkFlowDefinitionResponseDTO> getWorkFlowDefinitions(String name) throws ApiException
      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