public interface Artifact extends SkylarkArtifactApi, Comparable<Artifact>, AddsToRuleKey
Artifact
is a file used during the build stage. It can either be a source file for the
build or a generated file from an action
This is the interface exposed to users.
Modifier and Type | Method and Description |
---|---|
BoundArtifact |
asBound() |
com.facebook.buck.core.artifact.DeclaredArtifact |
asDeclared() |
OutputArtifact |
asOutputArtifact() |
boolean |
isBound() |
asSkylarkOutputArtifact, getBasename, getExtension, getOwner, getShortPath, isImmutable, isSource
isHashable
debugPrint, repr, str
compareTo
boolean isBound()
BoundArtifact asBound()
BoundArtifact
com.facebook.buck.core.artifact.DeclaredArtifact asDeclared()
DeclaredArtifact
OutputArtifact asOutputArtifact()
OutputArtifact
. Throws if cannot be converted