use of com.facebook.buck.distributed.thrift.MultiGetBuildSlaveLogDirRequest in project buck by facebook.
the class DistBuildService method fetchBuildSlaveLogDir.
public MultiGetBuildSlaveLogDirResponse fetchBuildSlaveLogDir(final StampedeId stampedeId, final List<RunId> runIds) throws IOException {
MultiGetBuildSlaveLogDirRequest getBuildSlaveLogDirRequest = new MultiGetBuildSlaveLogDirRequest();
getBuildSlaveLogDirRequest.setStampedeId(stampedeId);
getBuildSlaveLogDirRequest.setRunIds(runIds);
FrontendRequest request = new FrontendRequest();
request.setType(FrontendRequestType.GET_BUILD_SLAVE_LOG_DIR);
request.setMultiGetBuildSlaveLogDirRequest(getBuildSlaveLogDirRequest);
FrontendResponse response = makeRequestChecked(request);
return response.getMultiGetBuildSlaveLogDirResponse();
}
Aggregations