Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 60 for setDelegate (0.07 sec)

  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 {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/repository/LegacyRepositorySystemTest.java

        @Inject
        SwitchableMetadataSource switchableMetadataSource;
    
        @BeforeEach
        void setup() throws CycleDetectedInComponentGraphException {
            switchableMetadataSource.setDelegate(defaultMetadataSource);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            request.setUserToolchainsSource(
                    new StringSource(new DefaultToolchainsXmlFactory().toXmlString(userResult.getDelegate())));
            request.setGlobalToolchainsSource(
                    new StringSource(new DefaultToolchainsXmlFactory().toXmlString(globalResult.getDelegate())));
    
            ToolchainsBuildingResult result = toolchainBuilder.build(request);
            assertNotNull(result.getEffectiveToolchains());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.5K bytes
    - Viewed (0)
  4. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/merge/MavenToolchainMerger.java

                return;
            }
    
            recessive.setSourceLevel(recessiveSourceLevel);
    
            dominant.update(new org.apache.maven.toolchain.v4.MavenToolchainsMerger()
                    .merge(dominant.getDelegate(), recessive.getDelegate(), true, null));
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.5K bytes
    - Viewed (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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            List<org.apache.maven.api.model.Profile> interpolated =
                    interpolateActivations(tmpModel.getDelegate().getProfiles(), profileActivationContext, problems);
            if (interpolated != tmpModel.getDelegate().getProfiles()) {
                tmpModel.update(tmpModel.getDelegate().withProfiles(interpolated));
            }
    
            // inject external profile into current model
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultPluginConfigurationExpander.java

            for (Plugin plugin : plugins) {
                XmlNode pluginConfiguration = plugin.getDelegate().getConfiguration();
    
                if (pluginConfiguration != null) {
                    for (PluginExecution execution : plugin.getExecutions()) {
                        XmlNode executionConfiguration = execution.getDelegate().getConfiguration();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/io/DefaultModelWriter.java

            write(output, options, model.getDelegate());
        }
    
        @Override
        public void write(Writer output, Map<String, Object> options, org.apache.maven.model.Model model)
                throws IOException {
            write(output, options, model.getDelegate());
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/plugin/DefaultReportConfigurationExpander.java

                    XmlNode parentDom = reportPlugin.getDelegate().getConfiguration();
    
                    if (parentDom != null) {
                        for (ReportSet execution : reportPlugin.getReportSets()) {
                            XmlNode childDom = execution.getDelegate().getConfiguration();
                            childDom = XmlNode.merge(childDom, parentDom);
                            execution.update(execution.getDelegate().withConfiguration(childDom));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  10. compat/maven-repository-metadata/src/main/java/org/apache/maven/artifact/repository/metadata/io/xpp3/MetadataXpp3Writer.java

         * @throws java.io.IOException java.io.IOException if any
         */
        public void write(Writer writer, Metadata metadata) throws java.io.IOException {
            try {
                delegate.write(writer, metadata.getDelegate());
            } catch (XMLStreamException e) {
                throw new IOException(e);
            }
        }
    
        /**
         * Method write.
         *
         * @param stream a stream object
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.5K bytes
    - Viewed (0)
Back to top