public interface BoundArtifact extends Artifact
Artifact that will be materialized by the action execution phase. This can
either be a source file or a file produced by an action.
A bound artifact is only either an SourceArtifact or BuildArtifact
This interface is not intended to be used by users, but only by the framework.
| Modifier and Type | Method and Description |
|---|---|
BuildArtifact |
asBuildArtifact() |
SourceArtifact |
asSource() |
SourcePath |
getSourcePath() |
asBound, asDeclared, asOutputArtifact, isBoundasSkylarkOutputArtifact, getBasename, getExtension, getOwner, getShortPath, isImmutable, isSourceisHashabledebugPrint, repr, strcompareTo@Nullable SourceArtifact asSource()
SourceArtifact, null if this is not a SourceArtifact@Nullable BuildArtifact asBuildArtifact()
BuildArtifact, null if this is not a BuildArtifactSourcePath getSourcePath()
SourcePath that represents where this artifact is.