Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 176 for getPlugins (0.18 sec)

  1. platforms/ide/tooling-api-builders/src/main/java/org/gradle/tooling/internal/provider/runner/ProjectConfigurationTracker.java

        }
    
        private static class ProjectConfigurationResult {
            private final Map<InternalPluginIdentifier, PluginApplicationResult> pluginApplicationResults = new ConcurrentHashMap<>();
    
            void increment(PluginApplication pluginApplication, long duration) {
                InternalPluginIdentifier plugin = pluginApplication.getPlugin();
                pluginApplicationResults
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  2. maven-core/src/main/java/org/apache/maven/lifecycle/internal/ExecutionPlanItem.java

        }
    
        public String getLifecyclePhase() {
            return mojoExecution.getLifecyclePhase();
        }
    
        public Plugin getPlugin() {
            final MojoDescriptor mojoDescriptor = getMojoExecution().getMojoDescriptor();
            return mojoDescriptor.getPluginDescriptor().getPlugin();
        }
    
        @Override
        public String toString() {
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Wed May 22 13:45:13 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. subprojects/core/src/test/groovy/org/gradle/api/internal/plugins/DefaultPluginContainerTest.groovy

        }
    
        def "fails when getting unknown plugin"() {
            when:
            container.getPlugin("unknown")
    
            then:
            thrown(UnknownPluginException)
        }
    
        def "fails when getting plugin of unknown type"() {
            when:
            container.getPlugin(plugin1Class)
    
            then:
            thrown(UnknownPluginException)
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 13 21:54:27 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. platforms/ide/tooling-api/src/test/groovy/org/gradle/tooling/internal/consumer/parameters/BuildProgressListenerAdapterForProjectConfigurationOperationsTest.groovy

            _ * startEvent.getDescriptor() >> projectConfigurationDescriptor
    
            def binaryPluginApplicationResult = Stub(InternalPluginApplicationResult)
            _ * binaryPluginApplicationResult.getPlugin() >> Stub(InternalBinaryPluginIdentifier) {
                getClassName() >> 'com.acme.SomePlugin'
                getPluginId() >> 'com.acme.some'
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 12.7K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugins.go

    	ps.registry[name] = plugin
    }
    
    // getPlugin creates an instance of the named plugin.  It returns `false` if
    // the name is not known. The error is returned only when the named provider was
    // known but failed to initialize.  The config parameter specifies the io.Reader
    // handler of the configuration file for the cloud provider, or nil for no configuration.
    func (ps *Plugins) getPlugin(name string, config io.Reader) (Interface, bool, error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 29 15:48:39 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/plugin/PluginManagerTest.java

            MavenSession session = createMavenSession(getProject("project-contributing-system-scope-plugin-dep"));
            MavenProject project = session.getCurrentProject();
            Plugin plugin = project.getPlugin("org.apache.maven.its.plugins:maven-it-plugin");
    
            RepositoryRequest repositoryRequest = new DefaultRepositoryRequest();
            repositoryRequest.setLocalRepository(getLocalRepository());
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Sat Apr 15 17:24:20 UTC 2023
    - 13.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/accessors/PluginSpecBuilderAccessorsClassPathTest.kt

                val accessorsClass = loadClass(className)
                assertThat(
                    accessorsClass.declaredMethods.map { it.name },
                    hasItems("getMy", "getOwn", "getPlugin")
                )
    
                val expectedPluginSpec = mock<PluginDependencySpec>()
                val plugins = mock<PluginDependenciesSpec> {
                    on { id(any()) } doReturn expectedPluginSpec
                }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Sep 30 16:17:27 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  8. platforms/ide/tooling-api/src/main/java/org/gradle/tooling/internal/protocol/events/InternalProjectConfigurationResult.java

        /**
         * @since 5.1
         */
        interface InternalPluginApplicationResult {
    
            /**
             * Returns the identifier of this plugin.
             */
            InternalPluginIdentifier getPlugin();
    
            /**
             * Returns the total configuration time of this plugin.
             */
            Duration getTotalConfigurationTime();
    
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/plugin/MojoExecution.java

            return source;
        }
    
        public String getExecutionId() {
            return executionId;
        }
    
        public Plugin getPlugin() {
            if (mojoDescriptor != null) {
                return mojoDescriptor.getPluginDescriptor().getPlugin();
            }
    
            return plugin;
        }
    
        public MojoDescriptor getMojoDescriptor() {
            return mojoDescriptor;
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Jan 03 15:52:23 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  10. subprojects/build-events/src/main/java/org/gradle/internal/build/event/types/DefaultPluginApplicationResult.java

            this.plugin = plugin;
            this.totalConfigurationTime = totalConfigurationTime;
        }
    
        @Override
        public InternalPluginIdentifier getPlugin() {
            return plugin;
        }
    
        @Override
        public Duration getTotalConfigurationTime() {
            return totalConfigurationTime;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Nov 29 00:04:07 UTC 2019
    - 1.5K bytes
    - Viewed (0)
Back to top