Class TaskGraphsApi


  • public class TaskGraphsApi
    extends java.lang.Object
    • Constructor Detail

      • TaskGraphsApi

        public TaskGraphsApi()
      • TaskGraphsApi

        public TaskGraphsApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • getHostIndex

        public int getHostIndex()
      • setHostIndex

        public void setHostIndex​(int hostIndex)
      • getCustomBaseUrl

        public java.lang.String getCustomBaseUrl()
      • setCustomBaseUrl

        public void setCustomBaseUrl​(java.lang.String customBaseUrl)
      • createTaskGraphCall

        public okhttp3.Call createTaskGraphCall​(java.lang.String namespace,
                                                TaskGraph graph,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for createTaskGraph
        Parameters:
        namespace - Include graphs for this namespace. (required)
        graph - Create the task graph. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • createTaskGraph

        public TaskGraph createTaskGraph​(java.lang.String namespace,
                                         TaskGraph graph)
                                  throws ApiException
        Create a single task graph for execution.
        Parameters:
        namespace - Include graphs for this namespace. (required)
        graph - Create the task graph. (required)
        Returns:
        TaskGraph
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createTaskGraphWithHttpInfo

        public ApiResponse<TaskGraph> createTaskGraphWithHttpInfo​(java.lang.String namespace,
                                                                  TaskGraph graph)
                                                           throws ApiException
        Create a single task graph for execution.
        Parameters:
        namespace - Include graphs for this namespace. (required)
        graph - Create the task graph. (required)
        Returns:
        ApiResponse<TaskGraph>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • createTaskGraphAsync

        public okhttp3.Call createTaskGraphAsync​(java.lang.String namespace,
                                                 TaskGraph graph,
                                                 ApiCallback<TaskGraph> _callback)
                                          throws ApiException
        (asynchronously) Create a single task graph for execution.
        Parameters:
        namespace - Include graphs for this namespace. (required)
        graph - Create the task graph. (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
      • getTaskGraphCall

        public okhttp3.Call getTaskGraphCall​(java.lang.String namespace,
                                             java.lang.String id,
                                             ApiCallback _callback)
                                      throws ApiException
        Build call for getTaskGraph
        Parameters:
        namespace - The namespace that owns this task graph. (required)
        id - The UUID of the task graph entry. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • getTaskGraph

        public TaskGraph getTaskGraph​(java.lang.String namespace,
                                      java.lang.String id)
                               throws ApiException
        Fetch information about a single task graph.
        Parameters:
        namespace - The namespace that owns this task graph. (required)
        id - The UUID of the task graph entry. (required)
        Returns:
        TaskGraph
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getTaskGraphWithHttpInfo

        public ApiResponse<TaskGraph> getTaskGraphWithHttpInfo​(java.lang.String namespace,
                                                               java.lang.String id)
                                                        throws ApiException
        Fetch information about a single task graph.
        Parameters:
        namespace - The namespace that owns this task graph. (required)
        id - The UUID of the task graph entry. (required)
        Returns:
        ApiResponse<TaskGraph>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • getTaskGraphAsync

        public okhttp3.Call getTaskGraphAsync​(java.lang.String namespace,
                                              java.lang.String id,
                                              ApiCallback<TaskGraph> _callback)
                                       throws ApiException
        (asynchronously) Fetch information about a single task graph.
        Parameters:
        namespace - The namespace that owns this task graph. (required)
        id - The UUID of the task graph entry. (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
      • listTaskGraphsCall

        public okhttp3.Call listTaskGraphsCall​(java.lang.String namespace,
                                               ApiCallback _callback)
                                        throws ApiException
        Build call for listTaskGraphs
        Parameters:
        namespace - Namespace for graphs (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • listTaskGraphs

        public TaskGraphs listTaskGraphs​(java.lang.String namespace)
                                  throws ApiException
        Fetch the task graphs of a namespace the user has access to. The returned entries will include only summary data, and will not include information about the individual tasks that were executed. (This information is available when requesting an individual task graph log.) Entries in the response are ordered from newest to oldest. Pagination parameters work as in other API methods; see PaginationMetadata.
        Parameters:
        namespace - Namespace for graphs (required)
        Returns:
        TaskGraphs
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • listTaskGraphsWithHttpInfo

        public ApiResponse<TaskGraphs> listTaskGraphsWithHttpInfo​(java.lang.String namespace)
                                                           throws ApiException
        Fetch the task graphs of a namespace the user has access to. The returned entries will include only summary data, and will not include information about the individual tasks that were executed. (This information is available when requesting an individual task graph log.) Entries in the response are ordered from newest to oldest. Pagination parameters work as in other API methods; see PaginationMetadata.
        Parameters:
        namespace - Namespace for graphs (required)
        Returns:
        ApiResponse<TaskGraphs>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • listTaskGraphsAsync

        public okhttp3.Call listTaskGraphsAsync​(java.lang.String namespace,
                                                ApiCallback<TaskGraphs> _callback)
                                         throws ApiException
        (asynchronously) Fetch the task graphs of a namespace the user has access to. The returned entries will include only summary data, and will not include information about the individual tasks that were executed. (This information is available when requesting an individual task graph log.) Entries in the response are ordered from newest to oldest. Pagination parameters work as in other API methods; see PaginationMetadata.
        Parameters:
        namespace - Namespace for graphs (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
      • submitTaskGraphCall

        public okhttp3.Call submitTaskGraphCall​(java.lang.String namespace,
                                                java.lang.String id,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for submitTaskGraph
        Parameters:
        namespace - The namespace that owns this task graph. (required)
        id - The UUID of the task graph entry. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • submitTaskGraph

        public TaskGraphLog submitTaskGraph​(java.lang.String namespace,
                                            java.lang.String id)
                                     throws ApiException
        Submit a single task graph for execution.
        Parameters:
        namespace - The namespace that owns this task graph. (required)
        id - The UUID of the task graph entry. (required)
        Returns:
        TaskGraphLog
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • submitTaskGraphWithHttpInfo

        public ApiResponse<TaskGraphLog> submitTaskGraphWithHttpInfo​(java.lang.String namespace,
                                                                     java.lang.String id)
                                                              throws ApiException
        Submit a single task graph for execution.
        Parameters:
        namespace - The namespace that owns this task graph. (required)
        id - The UUID of the task graph entry. (required)
        Returns:
        ApiResponse<TaskGraphLog>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • submitTaskGraphAsync

        public okhttp3.Call submitTaskGraphAsync​(java.lang.String namespace,
                                                 java.lang.String id,
                                                 ApiCallback<TaskGraphLog> _callback)
                                          throws ApiException
        (asynchronously) Submit a single task graph for execution.
        Parameters:
        namespace - The namespace that owns this task graph. (required)
        id - The UUID of the task graph entry. (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
      • updateTaskGraphCall

        public okhttp3.Call updateTaskGraphCall​(java.lang.String namespace,
                                                java.lang.String id,
                                                TaskGraph graph,
                                                ApiCallback _callback)
                                         throws ApiException
        Build call for updateTaskGraph
        Parameters:
        namespace - The namespace that owns this task graph. (required)
        id - The UUID of the task graph entry. (required)
        graph - Updates to make to the task graph. (required)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • updateTaskGraph

        public void updateTaskGraph​(java.lang.String namespace,
                                    java.lang.String id,
                                    TaskGraph graph)
                             throws ApiException
        Update information about a single task graph execution.
        Parameters:
        namespace - The namespace that owns this task graph. (required)
        id - The UUID of the task graph entry. (required)
        graph - Updates to make to the task graph. (required)
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateTaskGraphWithHttpInfo

        public ApiResponse<java.lang.Void> updateTaskGraphWithHttpInfo​(java.lang.String namespace,
                                                                       java.lang.String id,
                                                                       TaskGraph graph)
                                                                throws ApiException
        Update information about a single task graph execution.
        Parameters:
        namespace - The namespace that owns this task graph. (required)
        id - The UUID of the task graph entry. (required)
        graph - Updates to make to the task graph. (required)
        Returns:
        ApiResponse<Void>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • updateTaskGraphAsync

        public okhttp3.Call updateTaskGraphAsync​(java.lang.String namespace,
                                                 java.lang.String id,
                                                 TaskGraph graph,
                                                 ApiCallback<java.lang.Void> _callback)
                                          throws ApiException
        (asynchronously) Update information about a single task graph execution.
        Parameters:
        namespace - The namespace that owns this task graph. (required)
        id - The UUID of the task graph entry. (required)
        graph - Updates to make to the task graph. (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