Search in sources :

Example 1 with MultiGetBuildSlaveLogDirRequest

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();
}
Also used : FrontendResponse(com.facebook.buck.distributed.thrift.FrontendResponse) FrontendRequest(com.facebook.buck.distributed.thrift.FrontendRequest) MultiGetBuildSlaveLogDirRequest(com.facebook.buck.distributed.thrift.MultiGetBuildSlaveLogDirRequest)

Aggregations

FrontendRequest (com.facebook.buck.distributed.thrift.FrontendRequest)1 FrontendResponse (com.facebook.buck.distributed.thrift.FrontendResponse)1 MultiGetBuildSlaveLogDirRequest (com.facebook.buck.distributed.thrift.MultiGetBuildSlaveLogDirRequest)1