BlazeBuildOutputs: expose full artifact data
BlazeCommandRunners return BlazeBuildOutputs as the output of a
run command, but BlazeBuildOutputs doesn't expose the most
important component of all - the generated artifacts. This CL
makes that field public.
@@ -45,7 +45,9 @@ public class BlazeBuildOutputs {
public final BuildResult buildResult;
public final ImmutableList<String> buildIds;
- private final ImmutableMap<String, BepArtifactData> artifacts;
+
+ /** {@link BepArtifactData} by {@link OutputArtifact#getKey()} for all artifacts from a build. */
+ public final ImmutableMap<String, BepArtifactData> artifacts;
/** The artifacts transitively associated with each top-level target. */
private final ImmutableSetMultimap<String, OutputArtifact> perTargetArtifacts;
