- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for isWatchingAnyLocations (0.62 sec)
-
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/FileWatcherRegistry.java
import java.io.IOException; import java.nio.file.Path; import java.util.Collection; import java.util.List; import java.util.Optional; public interface FileWatcherRegistry extends Closeable { boolean isWatchingAnyLocations(); interface ChangeHandler { void handleChange(Type type, Path path); void stopWatchingAfterError(); } enum Type { CREATED, MODIFIED,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 15:08:33 UTC 2024 - 4.1K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingNotSupportedVirtualFileSystem.java
} })); } @Override public void afterBuildFinished() { } @Override public boolean isWatchingAnyLocations() { return false; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 17:41:07 UTC 2024 - 4.4K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/BuildLifecycleAwareVirtualFileSystem.java
*/ void registerWatchableHierarchy(File rootDirectoryForWatching); /** * Returns if anything is being watched. */ boolean isWatchingAnyLocations(); /** * Called when the build is finished. * * This operation happens in the context of executing the build from the client's perspective. */
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 2.6K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/vfs/impl/WatchingVirtualFileSystem.java
closeUnderLock(); return currentRoot.empty(); } } @Override public boolean isWatchingAnyLocations() { FileWatcherRegistry watchRegistry = this.watchRegistry; if (watchRegistry != null) { return watchRegistry.isWatchingAnyLocations(); } return false; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Feb 02 16:22:15 UTC 2024 - 25.2K bytes - Viewed (0) -
platforms/core-execution/file-watching/src/main/java/org/gradle/internal/watch/registry/impl/DefaultFileWatcherRegistry.java
handler.stopWatchingAfterError(); }); thread.start(); return thread; } @Override public boolean isWatchingAnyLocations() { return !fileWatcherUpdater.getWatchedFiles().isEmpty(); } @Override public void registerWatchableHierarchy(File watchableHierarchy, SnapshotHierarchy root) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 15:08:33 UTC 2024 - 11.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/main/java/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutor.java
return lastResult; } else if (!continuousBuildTriggerHandler.hasBeenTriggered() && !virtualFileSystem.isWatchingAnyLocations()) { logger.println().withStyle(StyledTextOutput.Style.Failure).println("Exiting continuous build as Gradle does not watch any file system locations."); return lastResult;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jan 25 17:41:07 UTC 2024 - 11.6K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/test/groovy/org/gradle/tooling/internal/provider/continuous/ContinuousBuildActionExecutorTest.groovy
def executorService = Executors.newCachedThreadPool() def fileSystemIsWatchingAnyLocations = true def virtualFileSystem = Stub(BuildLifecycleAwareVirtualFileSystem) { isWatchingAnyLocations() >> { fileSystemIsWatchingAnyLocations } } def executer = executer() private File file = new File('file').absoluteFile
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 02:21:10 UTC 2024 - 12.7K bytes - Viewed (0)