- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 157 for listener_manager (0.22 sec)
-
subprojects/core/src/main/java/org/gradle/internal/service/scopes/DefaultFileChangeListeners.java
public class DefaultFileChangeListeners implements FileChangeListeners { private final AnonymousListenerBroadcast<FileChangeListener> broadcaster; public DefaultFileChangeListeners(ListenerManager listenerManager) { this.broadcaster = listenerManager.createAnonymousBroadcaster(FileChangeListener.class); } @Override public void addListener(FileChangeListener listener) { broadcaster.add(listener); } @Override
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 21 17:17:17 UTC 2022 - 1.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/GradleScopeServices.java
} @Provides TaskListenerInternal createTaskListenerInternal(ListenerManager listenerManager) { return listenerManager.getBroadcaster(TaskListenerInternal.class); } @Provides ListenerBroadcast<TaskExecutionGraphListener> createTaskExecutionGraphListenerBroadcast(ListenerManager listenerManager) { return listenerManager.createAnonymousBroadcaster(TaskExecutionGraphListener.class); }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 09:21:42 UTC 2024 - 9.7K bytes - Viewed (0) -
platforms/software/resources/src/main/java/org/gradle/internal/resource/local/FileResourceConnector.java
private final FileSystem fileSystem; private final FileResourceListener listener; public FileResourceConnector(FileSystem fileSystem, ListenerManager listenerManager) { this.fileSystem = fileSystem; this.listener = listenerManager.getBroadcaster(FileResourceListener.class); } @Override public ExternalResourceRepository withProgressLogging() { return this; }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 2.6K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/services/Environment.kt
/** * Augments the [DefaultEnvironment] to track access to properties files, environment variables and system properties. **/ class ConfigurationCacheEnvironment( private val listenerManager: ListenerManager ) : DefaultEnvironment() { @EventScope(Scope.Build::class) interface Listener { fun systemPropertiesPrefixedBy(prefix: String, snapshot: Map<String, String?>)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 3.5K bytes - Viewed (0) -
platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/provider/BuildServices.kt
classpathFingerprinter }, fileCollectionFactory ) @Provides fun createKotlinCompilerContextDisposer(listenerManager: ListenerManager) = KotlinCompilerContextDisposer(listenerManager) private val isKotlinScriptCompilationAvoidanceEnabled: Boolean get() = System.getProperty(KOTLIN_SCRIPT_COMPILATION_AVOIDANCE_ENABLED_PROPERTY, "true") == "true"
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Jun 06 16:14:33 UTC 2024 - 6.7K bytes - Viewed (0) -
subprojects/build-events/src/main/java/org/gradle/internal/build/event/DefaultBuildEventsListenerRegistry.java
private final ListenerManager listenerManager; private final BuildOperationListenerManager buildOperationListenerManager; private final Map<Provider<?>, AbstractListener<?>> subscriptions = new LinkedHashMap<>(); private final ExecutorFactory executorFactory; public DefaultBuildEventsListenerRegistry( BuildEventListenerFactory factory, ListenerManager listenerManager,
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Jun 05 19:34:01 UTC 2024 - 12.5K bytes - Viewed (0) -
platforms/core-runtime/process-services/src/test/groovy/org/gradle/process/internal/health/memory/DefaultMemoryManagerTest.groovy
*/ def newMemoryManager(OsMemoryInfo memoryInfo) { def listenerManager = Mock(ListenerManager) { 1 * addListener(_) >> { args -> osMemoryStatusListener = args[0] } } def memoryManager = new DefaultMemoryManager(memoryInfo, jvmMemoryInfo, listenerManager, Stub(ExecutorFactory), 0.25, false) osMemoryStatusListener.onOsMemoryStatus(memoryInfo.getOsSnapshot())
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Dec 20 23:56:19 UTC 2023 - 9.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/scripts/DefaultScriptFileResolverListeners.java
import org.gradle.internal.event.ListenerManager; import java.io.File; public class DefaultScriptFileResolverListeners implements ScriptFileResolvedListener, ScriptFileResolverListeners { private final AnonymousListenerBroadcast<ScriptFileResolvedListener> broadcast; public DefaultScriptFileResolverListeners(ListenerManager listenerManager) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Dec 19 20:09:56 UTC 2022 - 1.6K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/internal/service/scopes/GradleUserHomeScopeServices.java
DefaultClassLoaderCache cache = new DefaultClassLoaderCache(classLoaderFactory, classpathHasher); listenerManager.addListener(cache); return cache; } @Provides ClassLoaderScopeRegistryListenerManager createClassLoaderScopeRegistryListenerManager(ListenerManager listenerManager) {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 13.8K bytes - Viewed (0) -
subprojects/core/src/main/java/org/gradle/cache/internal/GradleUserHomeCleanupServices.java
Deleter deleter, GradleUserHomeDirProvider gradleUserHomeDirProvider, BuildOperationRunner buildOperationRunner, CacheConfigurationsInternal cacheConfigurations, ListenerManager listenerManager, CacheFactory cacheFactory ) { UsedGradleVersions usedGradleVersions = new UsedGradleVersionsFromGradleUserHomeCaches(cacheBuilderFactory);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon May 27 12:34:44 UTC 2024 - 2.7K bytes - Viewed (0)