public interface BuildTargetSourcePath extends SourcePath
SourcePath which resolves to some output generated by a BuildRule.
The file is not guaranteed to exist until the BuildRule
has been built.
| Modifier and Type | Method and Description |
|---|---|
Optional<com.google.common.hash.HashCode> |
getPrecomputedHash()
In rare cases, a BuildTargetSourcePath may know a hash of its content on disk before it even
creates its output.
|
default BuildTarget |
getTarget() |
BuildTargetWithOutputs |
getTargetWithOutputs() |
default String |
representationForRuleKey() |
compareClassescompareToBuildTargetWithOutputs getTargetWithOutputs()
BuildTargetWithOutputs this SourcePath is associated withdefault BuildTarget getTarget()
BuildRule which generates the
file.Optional<com.google.common.hash.HashCode> getPrecomputedHash()
default String representationForRuleKey()