@Override
  public ReservedWorker handle(ReserveWorker reserveWorker) {
    String id = reserveWorker.getId();
    Preconditions.checkNotNull(id, "transfer job ID required for ReserveWorkerAction");
    UUID jobId = decodeJobId(id);
    updateStateToCredsAvailable(jobId);
    // Instead of returning an empty string, return a ReservedWorker response with an empty public
    // key.
    // TODO(seehamrun): consider making this a ReserveWorkerResponse type that contains a status if
    // this was successful
    return new ReservedWorker("");
  }
Reserves a worker to process a transfer job.
portability-api/src/main/java/org/datatransferproject/api/action/transfer/ReserveWorkerAction.java