Interface ExecutionsGrpc.AsyncService (2.14.0)

public static interface ExecutionsGrpc.AsyncService

Executions is used to start and manage running instances of Workflows called executions.

Methods

cancelExecution(CancelExecutionRequest request, StreamObserver<Execution> responseObserver)

public default void cancelExecution(CancelExecutionRequest request, StreamObserver<Execution> responseObserver)

Cancels an execution of the given name.

Parameters
NameDescription
requestCancelExecutionRequest
responseObserverio.grpc.stub.StreamObserver<Execution>

createExecution(CreateExecutionRequest request, StreamObserver<Execution> responseObserver)

public default void createExecution(CreateExecutionRequest request, StreamObserver<Execution> responseObserver)

Creates a new execution using the latest revision of the given workflow.

Parameters
NameDescription
requestCreateExecutionRequest
responseObserverio.grpc.stub.StreamObserver<Execution>

getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)

public default void getExecution(GetExecutionRequest request, StreamObserver<Execution> responseObserver)

Returns an execution of the given name.

Parameters
NameDescription
requestGetExecutionRequest
responseObserverio.grpc.stub.StreamObserver<Execution>

listExecutions(ListExecutionsRequest request, StreamObserver<ListExecutionsResponse> responseObserver)

public default void listExecutions(ListExecutionsRequest request, StreamObserver<ListExecutionsResponse> responseObserver)

Returns a list of executions which belong to the workflow with the given name. The method returns executions of all workflow revisions. Returned executions are ordered by their start time (newest first).

Parameters
NameDescription
requestListExecutionsRequest
responseObserverio.grpc.stub.StreamObserver<ListExecutionsResponse>