Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for getRegistry (0.2 sec)

  1. platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/daemon/DaemonReportStatusIntegrationSpec.groovy

            given:
            daemons.getRegistry().storeStopEvent(new DaemonStopEvent(new Date(), 12345L, DaemonExpirationStatus.IMMEDIATE_EXPIRE, "IMMEDIATE_EXPIRE_REASON"))
            daemons.getRegistry().storeStopEvent(new DaemonStopEvent(new Date(), 12345L, DaemonExpirationStatus.GRACEFUL_EXPIRE, "GRACEFUL_EXPIRE_REASON"))
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:29:13 UTC 2023
    - 3.4K bytes
    - Viewed (0)
  2. platforms/core-runtime/instrumentation-agent-services/src/integTest/groovy/org/gradle/internal/instrumentation/agent/AgentApplicationTest.groovy

            int currentSize = daemons.getRegistry().getAll().size()
            if (shouldApplyAgent != null) {
                withAgentApplied(shouldApplyAgent)
            }
            def daemon = executer.noExtraLogging().withArgument("--foreground").start()
            // Wait for foreground daemon to be ready
            poll() { assert daemons.getRegistry().getAll().size() == (currentSize + 1) }
            return daemon
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jun 11 09:51:15 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/daemon/DaemonIntegrationSpec.groovy

        }
    
        GradleHandle startAForegroundDaemon() {
            int currentSize = daemons.getRegistry().getAll().size()
            def daemon = executer.withArgument("--foreground").start()
            // Wait for foreground daemon to be ready
            ConcurrentTestUtil.poll() { assert daemons.getRegistry().getAll().size() == (currentSize + 1) }
            return daemon
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. platforms/jvm/jvm-services/src/integTest/groovy/org/gradle/jvm/toolchain/JavaInstallationRegistryIntegrationTest.groovy

                import org.gradle.internal.jvm.inspection.JavaInstallationRegistry;
    
                abstract class ShowPlugin implements Plugin<Project> {
                    @Inject
                    abstract JavaInstallationRegistry getRegistry()
    
                    void apply(Project project) {
                        project.tasks.register("show") {
                            def installations = registry.listInstallations()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 11 18:29:03 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/tooling/provider/model/CustomToolingModelIntegrationTest.groovy

                import ${ToolingModelBuilder.name}
    
                abstract class SomePlugin implements Plugin<Project> {
                    @Inject
                    abstract ToolingModelBuilderRegistry getRegistry();
    
                    void apply(Project project) {
                        registry.register(new SomeModelBuilder())
                        project.tasks.register("model1", SomeTask)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/MethodModelRuleApplicationContext.java

    import org.gradle.model.internal.core.ModelAction;
    import org.gradle.model.internal.core.ModelPath;
    import org.gradle.model.internal.registry.ModelRegistry;
    
    public interface MethodModelRuleApplicationContext {
        ModelRegistry getRegistry();
    
        /**
         * Contextualizes the given action.
         *
         * - Resolved subject and input paths relative to the target element.
         * - Resolves subject type references relative to the target element.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/BaseInstrumentingArtifactTransform.java

            InterceptorTypeRegistryAndFilter typeRegistryAndFilter = provideInterceptorTypeRegistryAndFilter();
            InstrumentationTypeRegistry typeRegistry = typeRegistryAndFilter.getRegistry();
            BytecodeInterceptorFilter interceptorFilter = typeRegistryAndFilter.getFilter();
            ClasspathElementTransformFactory transformFactory = internalServices.get().getTransformFactory(isAgentSupported());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 14:22:44 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/RuleExtractorUtils.java

            ModelAction action = context.contextualize(ruleAction);
            ModelRegistry registry = context.getRegistry();
            switch (ruleApplicationScope) {
                case SELF:
                    registry.configure(role, action);
                    break;
                case DESCENDANTS:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/api/internal/initialization/transform/ProjectDependencyInstrumentingArtifactTransform.java

        protected InterceptorTypeRegistryAndFilter provideInterceptorTypeRegistryAndFilter() {
            return new InterceptorTypeRegistryAndFilter() {
                @Override
                public InstrumentationTypeRegistry getRegistry() {
                    return InstrumentationTypeRegistry.EMPTY;
                }
    
                @Override
                public BytecodeInterceptorFilter getFilter() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Feb 29 19:11:54 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. platforms/core-runtime/launcher/src/main/java/org/gradle/launcher/daemon/registry/DaemonDir.java

        }
    
        public File getBaseDir() {
            return baseDir;
        }
    
        public File getVersionedDir() {
            return versionedDir;
        }
    
        public File getRegistry() {
            return registryFile;
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sun May 05 22:23:18 UTC 2024
    - 1.5K bytes
    - Viewed (0)
Back to top