Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 36 for setDelegate (0.17 seconds)

  1. compat/maven-compat/src/test/java/org/apache/maven/artifact/metadata/SwitchableMetadataSource.java

        private ArtifactMetadataSource delegate;
    
        @Inject
        public SwitchableMetadataSource(@Named("test") ArtifactMetadataSource delegate) {
            this.delegate = delegate;
        }
    
        public void setDelegate(ArtifactMetadataSource delegate) {
            this.delegate = delegate;
        }
    
        @Override
        public ResolutionGroup retrieve(MetadataResolutionRequest request) throws ArtifactMetadataRetrievalException {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3K bytes
    - Click Count (0)
  2. impl/maven-core/src/main/java/org/apache/maven/settings/SettingsUtils.java

                dominant.delegate = SettingsUtilsV4.merge(dominant.getDelegate(), recessive.getDelegate());
            }
        }
    
        /**
         * @param modelProfile
         * @return a profile
         */
        public static Profile convertToSettingsProfile(org.apache.maven.model.Profile modelProfile) {
            return new Profile(SettingsUtilsV4.convertToSettingsProfile(modelProfile.getDelegate()));
        }
    
        /**
         * @param settingsProfile
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/DeferredSocketAdapter.kt

        sslSocket: SSLSocket,
        hostname: String?,
        protocols: List<Protocol>,
      ) {
        getDelegate(sslSocket)?.configureTlsExtensions(sslSocket, hostname, protocols)
      }
    
      override fun getSelectedProtocol(sslSocket: SSLSocket): String? = getDelegate(sslSocket)?.getSelectedProtocol(sslSocket)
    
      @Synchronized private fun getDelegate(sslSocket: SSLSocket): SocketAdapter? {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProject.java

                    .flatMap(project -> project.getModel().getDelegate().getProfiles().stream())
                    .toList();
        }
    
        @Override
        @Nonnull
        public List<Profile> getDeclaredActiveProfiles() {
            return project.getActiveProfiles().stream()
                    .map(org.apache.maven.model.Profile::getDelegate)
                    .toList();
        }
    
        @Override
        @Nonnull
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 8.7K bytes
    - Click Count (0)
  5. compat/maven-compat/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            @Override
            @Nonnull
            public Optional<Lifecycle> lookup(String id) {
                return getDelegate().lookup(id);
            }
    
            @Override
            public Iterator<Lifecycle> iterator() {
                return getDelegate().iterator();
            }
    
            protected LifecycleRegistry getDelegate() {
                return lifecycleRegistry;
            }
    
            @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  6. impl/maven-core/src/test/java/org/apache/maven/project/EmptyLifecycleBindingsInjector.java

            @Override
            @Nonnull
            public Optional<Lifecycle> lookup(String id) {
                return getDelegate().lookup(id);
            }
    
            @Override
            public Iterator<Lifecycle> iterator() {
                return getDelegate().iterator();
            }
    
            protected LifecycleRegistry getDelegate() {
                return lifecycleRegistry;
            }
    
            @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Mar 21 04:56:21 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultMojoExecution.java

        }
    
        public org.apache.maven.plugin.MojoExecution getDelegate() {
            return delegate;
        }
    
        @Override
        public Plugin getPlugin() {
            return new Plugin() {
                @Override
                public org.apache.maven.api.model.Plugin getModel() {
                    return delegate.getPlugin().getDelegate();
                }
    
                @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 24 17:29:44 GMT 2025
    - 5.2K bytes
    - Click Count (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/canonical/CanonicalProjectBuilderTest.java

                    plugin = check;
                    break;
                }
            }
    
            assertNotNull(plugin);
    
            assertEquals("1.0", plugin.getVersion());
    
            XmlNode configuration = plugin.getDelegate().getConfiguration();
    
            assertEquals(
                    "src/conf/plexus.conf",
                    configuration.child("plexusConfiguration").value());
    
            assertEquals(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.4K bytes
    - Click Count (0)
  9. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3Writer.java

         * @throws IOException java.io.IOException if any.
         */
        public void write(Writer writer, Model model) throws IOException {
            try {
                delegate.write(writer, model.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        } // -- void write( Writer, Model )
    
        /**
         * Method write.
         *
         * @param stream a stream object.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.1K bytes
    - Click Count (0)
  10. compat/maven-toolchain-model/src/main/java/org/apache/maven/toolchain/model/io/xpp3/MavenToolchainsXpp3Writer.java

         */
        public void write(Writer writer, PersistedToolchains persistedToolchains) throws IOException {
            try {
                delegate.write(writer, persistedToolchains.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        }
    
        /**
         * Method write.
         *
         * @param stream a stream object.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Sat May 31 10:30:45 GMT 2025
    - 2.7K bytes
    - Click Count (0)
Back to Top