Class AsyncWorkflowVersionsClient


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

      • AsyncWorkflowVersionsClient

        public AsyncWorkflowVersionsClient​(ClientOptions clientOptions)
    • Method Detail

      • list

        public java.util.concurrent.CompletableFuture<WorkflowVersionsListResponse> list​(java.lang.String id)
        List all versions of a workflow, including the draft version. Returns a paginated list of version summaries.
      • list

        public java.util.concurrent.CompletableFuture<WorkflowVersionsListResponse> list​(java.lang.String id,
                                                                                         RequestOptions requestOptions)
        List all versions of a workflow, including the draft version. Returns a paginated list of version summaries.
      • create

        public java.util.concurrent.CompletableFuture<WorkflowVersion> create​(java.lang.String id)
        Deploy a new version of a workflow. The deployed version becomes available for running workflow runs.

        When steps is omitted, the current draft is deployed as-is. When steps is provided, the given steps are deployed directly without modifying the draft.

      • create

        public java.util.concurrent.CompletableFuture<WorkflowVersion> create​(java.lang.String id,
                                                                              RequestOptions requestOptions)
        Deploy a new version of a workflow. The deployed version becomes available for running workflow runs.

        When steps is omitted, the current draft is deployed as-is. When steps is provided, the given steps are deployed directly without modifying the draft.

      • create

        public java.util.concurrent.CompletableFuture<WorkflowVersion> create​(java.lang.String id,
                                                                              WorkflowVersionsCreateRequest request)
        Deploy a new version of a workflow. The deployed version becomes available for running workflow runs.

        When steps is omitted, the current draft is deployed as-is. When steps is provided, the given steps are deployed directly without modifying the draft.

      • create

        public java.util.concurrent.CompletableFuture<WorkflowVersion> create​(java.lang.String id,
                                                                              WorkflowVersionsCreateRequest request,
                                                                              RequestOptions requestOptions)
        Deploy a new version of a workflow. The deployed version becomes available for running workflow runs.

        When steps is omitted, the current draft is deployed as-is. When steps is provided, the given steps are deployed directly without modifying the draft.

      • retrieve

        public java.util.concurrent.CompletableFuture<WorkflowVersion> retrieve​(java.lang.String id,
                                                                                java.lang.String versionId)
        Get a specific version of a workflow, including its step definitions.
      • retrieve

        public java.util.concurrent.CompletableFuture<WorkflowVersion> retrieve​(java.lang.String id,
                                                                                java.lang.String versionId,
                                                                                RequestOptions requestOptions)
        Get a specific version of a workflow, including its step definitions.