Give OutputService#startBuild() access to the build ID.
--
MOS_MIGRATED_REVID=92288707
diff --git a/src/main/java/com/google/devtools/build/lib/exec/OutputService.java b/src/main/java/com/google/devtools/build/lib/exec/OutputService.java
index 88d9b94..31ef5ef 100644
--- a/src/main/java/com/google/devtools/build/lib/exec/OutputService.java
+++ b/src/main/java/com/google/devtools/build/lib/exec/OutputService.java
@@ -23,6 +23,7 @@
import com.google.devtools.build.lib.vfs.PathFragment;
import java.io.IOException;
+import java.util.UUID;
/**
* An OutputService retains control over the Blaze output tree, and provides a higher level of
@@ -51,10 +52,12 @@
/**
* Start the build.
*
+ * @param buildId the UUID build identifier
* @throws BuildFailedException if build preparation failed
* @throws InterruptedException
*/
- void startBuild() throws BuildFailedException, AbruptExitException, InterruptedException;
+ void startBuild(UUID buildId)
+ throws BuildFailedException, AbruptExitException, InterruptedException;
/**
* Finish the build.