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, isSourceisHashabledebugPrint, repr, strcompareToboolean isBound()
BoundArtifact asBound()
BoundArtifactcom.facebook.buck.core.artifact.DeclaredArtifact asDeclared()
DeclaredArtifactOutputArtifact asOutputArtifact()
OutputArtifact. Throws if cannot be converted