public WatchmanWatcher( String watchRoot, EventBus fileChangeEventBus, Clock clock, ObjectMapper objectMapper, ProcessExecutor processExecutor, Iterable<Path> ignorePaths, Iterable<String> ignoreGlobs, Watchman watchman, UUID queryUUID) { this( fileChangeEventBus, clock, objectMapper, processExecutor, DEFAULT_OVERFLOW_THRESHOLD, DEFAULT_TIMEOUT_MILLIS, createQuery( objectMapper, watchRoot, watchman.getProjectPrefix(), queryUUID.toString(), ignorePaths, ignoreGlobs, watchman.getCapabilities())); }