T- The type of node this pipeline will produce (raw nodes, target nodes, etc)
public interface FileParsePipeline<T extends FileManifest> extends AutoCloseable
|Modifier and Type||Method and Description|
Asynchronously obtain all
default T getFile(Cell cell, AbsPath buildFile) throws BuildFileParseException
TargetNodes from a build file. This may block if the file is not cached.
com.google.common.util.concurrent.ListenableFuture<T> getFileJob(Cell cell, AbsPath buildFile) throws BuildTargetException
TargetNodes from a build file. This will leverage previously cached raw contents of the file (if present) but will always loop over the contents, so repeated calls (with the same args) are not free.