Class ExecutionsGrpc.ExecutionsImplBase (2.5.0)

public abstract static class ExecutionsGrpc.ExecutionsImplBase implements BindableService

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

Inheritance

java.lang.Object > ExecutionsGrpc.ExecutionsImplBase

Implements

io.grpc.BindableService

Constructors

ExecutionsImplBase()

public ExecutionsImplBase()

Methods

bindService()

public final ServerServiceDefinition bindService()
Returns
TypeDescription
io.grpc.ServerServiceDefinition

cancelExecution(CancelExecutionRequest request, StreamObserver<Execution> responseObserver)

public 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 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 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 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>