public class GrpcRemoteExecutionServiceClient extends Object implements RemoteExecutionServiceClient
RemoteExecutionServiceClient.ExecutionHandle, RemoteExecutionServiceClient.ExecutionResult
Constructor and Description |
---|
GrpcRemoteExecutionServiceClient(build.bazel.remote.execution.v2.ExecutionGrpc.ExecutionStub executionStub,
com.google.bytestream.ByteStreamGrpc.ByteStreamStub byteStreamStub,
String instanceName,
Protocol protocol,
int casDeadline) |
Modifier and Type | Method and Description |
---|---|
RemoteExecutionServiceClient.ExecutionHandle |
execute(Protocol.Digest actionDigest,
String ruleName,
MetadataProvider metadataProvider)
This should run the command with the provided environment and inputs.
|
public RemoteExecutionServiceClient.ExecutionHandle execute(Protocol.Digest actionDigest, String ruleName, MetadataProvider metadataProvider) throws IOException, InterruptedException
RemoteExecutionServiceClient
Returns an ActionResult with exit code, outputs, stdout/stderr, etc.
execute
in interface RemoteExecutionServiceClient
IOException
InterruptedException