Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setGlobalToolchainsSource (0.32 sec)

  1. compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilderTest.java

            String xml = new DefaultToolchainsXmlFactory().toXmlString(persistedToolchains.getDelegate());
            ToolchainsBuildingRequest request = new DefaultToolchainsBuildingRequest();
            request.setGlobalToolchainsSource(new StringSource(xml));
    
            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)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuildingRequest.java

        private Source userToolchainsSource;
    
        @Override
        public Source getGlobalToolchainsSource() {
            return globalToolchainsSource;
        }
    
        @Override
        public ToolchainsBuildingRequest setGlobalToolchainsSource(Source globalToolchainsSource) {
            this.globalToolchainsSource = globalToolchainsSource;
            return this;
        }
    
        @Override
        public Source getUserToolchainsSource() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  3. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingRequest.java

         *
         * @param globalToolchainsSource The global toolchains source, may be {@code null} to disable global toolchains.
         * @return This request, never {@code null}.
         */
        ToolchainsBuildingRequest setGlobalToolchainsSource(Source globalToolchainsSource);
    
        /**
         * Gets the user toolchains source.
         *
         * @return The user toolchains source or {@code null} if none.
         */
        Source getUserToolchainsSource();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  4. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

            DefaultToolchainsBuildingRequest toolchainsRequest = new DefaultToolchainsBuildingRequest();
            if (installationToolchainsFile != null && installationToolchainsFile.isFile()) {
                toolchainsRequest.setGlobalToolchainsSource(new FileSource(installationToolchainsFile));
            }
            if (userToolchainsFile != null && userToolchainsFile.isFile()) {
                toolchainsRequest.setUserToolchainsSource(new FileSource(userToolchainsFile));
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 76.8K bytes
    - Viewed (0)
Back to top