public class TargetCountVerificationParserDecorator extends ForwardingProjectBuildFileParserDecorator
delegate| Constructor and Description |
|---|
TargetCountVerificationParserDecorator(ProjectBuildFileParser delegate,
int targetWarnCount,
BuckEventBus eventBus) |
| Modifier and Type | Method and Description |
|---|---|
BuildFileManifest |
getManifest(Path buildFile)
Collect all information from a particular, along with metadata about the information, for
example which other files were also parsed.
|
close, getIncludedFiles, globResultsMatchCurrentState, reportProfilepublic TargetCountVerificationParserDecorator(ProjectBuildFileParser delegate, int targetWarnCount, BuckEventBus eventBus)
delegate - the aggregated parser.targetWarnCount - the count of target which, if exceeded will log a warning.eventBus - The event buss where to post warning events for handling.public BuildFileManifest getManifest(Path buildFile) throws BuildFileParseException, InterruptedException, IOException
FileParsergetManifest in interface FileParser<BuildFileManifest>getManifest in class ForwardingProjectBuildFileParserDecoratorbuildFile - should be an absolute path to a file. Must have rootPath as its prefix.BuildFileParseExceptionInterruptedExceptionIOException