public class BuildTargetRawNodeParsePipeline extends Object implements BuildTargetParsePipeline<Map<String,Object>>
BuildTarget
.Constructor and Description |
---|
BuildTargetRawNodeParsePipeline(com.google.common.util.concurrent.ListeningExecutorService executorService,
BuildFileRawNodeParsePipeline buildFileRawNodeParsePipeline) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
com.google.common.util.concurrent.ListenableFuture<Map<String,Object>> |
getNodeJob(Cell cell,
UnconfiguredBuildTarget buildTarget)
Asynchronously get the
TargetNode . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getNode
public BuildTargetRawNodeParsePipeline(com.google.common.util.concurrent.ListeningExecutorService executorService, BuildFileRawNodeParsePipeline buildFileRawNodeParsePipeline)
public com.google.common.util.concurrent.ListenableFuture<Map<String,Object>> getNodeJob(Cell cell, UnconfiguredBuildTarget buildTarget) throws BuildTargetException
BuildTargetParsePipeline
TargetNode
. This leverages the cache.getNodeJob
in interface BuildTargetParsePipeline<Map<String,Object>>
cell
- the Cell
that the build file belongs to.buildTarget
- name of the node we're looking for. The build file path is derived from it.BuildTargetException
- when the buildTarget is malformed.public void close()
close
in interface AutoCloseable