Interface BuildArtifact

  • All Superinterfaces:
    AddsToRuleKey, Artifact, Comparable<Artifact>, SkylarkArtifactApi, com.google.devtools.build.lib.skylarkinterface.SkylarkPrintable, com.google.devtools.build.lib.skylarkinterface.SkylarkValue

    public interface BuildArtifact
    extends Artifact
    Represents an Artifact that is materialized by an Action.

    This is not intended to be exposed to users, but used only by the build engine.

    • Method Detail

      • getActionDataKey

        @Parameter
        @Nullable
        ActionAnalysisDataKey getActionDataKey()
        Returns:
        the key to the ActionAnalysisData that owns this artifact. This is null if this is a legacy artifact (one that refers to a source path of an old BuildRule.
      • getOutputPath

        Path getOutputPath()
        Returns:
        the path the user intends to write to relative to the assigned package path.