public class WatchmanDiagReportCollector extends Object
Constructor and Description |
---|
WatchmanDiagReportCollector(ProjectFilesystem projectFilesystem,
String watchmanDiagCommand,
ProcessExecutor processExecutor) |
Modifier and Type | Method and Description |
---|---|
static Optional<WatchmanDiagReportCollector> |
newInstanceIfWatchmanUsed(Watchman watchman,
ProjectFilesystem projectFilesystem,
ProcessExecutor processExecutor,
ExecutableFinder executableFinder,
com.google.common.collect.ImmutableMap<String,String> environment) |
Path |
run() |
public WatchmanDiagReportCollector(ProjectFilesystem projectFilesystem, String watchmanDiagCommand, ProcessExecutor processExecutor)
public Path run() throws IOException, InterruptedException, ExtraInfoCollector.ExtraInfoExecutionException
public static Optional<WatchmanDiagReportCollector> newInstanceIfWatchmanUsed(Watchman watchman, ProjectFilesystem projectFilesystem, ProcessExecutor processExecutor, ExecutableFinder executableFinder, com.google.common.collect.ImmutableMap<String,String> environment)