Search in sources :

Example 1 with SetBuckVersionRequest

use of com.facebook.buck.distributed.thrift.SetBuckVersionRequest in project buck by facebook.

the class DistBuildService method setBuckVersion.

public void setBuckVersion(StampedeId id, BuckVersion buckVersion) throws IOException {
    SetBuckVersionRequest setBuckVersionRequest = new SetBuckVersionRequest();
    setBuckVersionRequest.setStampedeId(id);
    setBuckVersionRequest.setBuckVersion(buckVersion);
    FrontendRequest request = new FrontendRequest();
    request.setType(FrontendRequestType.SET_BUCK_VERSION);
    request.setSetBuckVersionRequest(setBuckVersionRequest);
    makeRequestChecked(request);
}
Also used : SetBuckVersionRequest(com.facebook.buck.distributed.thrift.SetBuckVersionRequest) FrontendRequest(com.facebook.buck.distributed.thrift.FrontendRequest)

Aggregations

FrontendRequest (com.facebook.buck.distributed.thrift.FrontendRequest)1 SetBuckVersionRequest (com.facebook.buck.distributed.thrift.SetBuckVersionRequest)1