Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 50 for interpolate (0.08 seconds)

  1. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/CommonsCliOptions.java

                }
                printWriter.accept(sb.toString());
            }
        }
    
        @Override
        public final Options interpolate(UnaryOperator<String> callback) {
            try {
                // now that we have properties, interpolate all arguments
                Interpolator interpolator = createInterpolator();
                CommandLine.Builder commandLineBuilder = CommandLine.builder();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Oct 08 07:36:42 GMT 2025
    - 21.3K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

                    Interpolation nt = new Interpolation(pa, interpolator::interpolate);
                    nt.performFor(pa.getName(), "name", pa::setName);
                    nt.performFor(pa.getValue(), "value", pa::setValue);
                });
                a.map(Activation::getJdk).ifPresent(ja -> new Interpolation(activation, interpolator::interpolate)
                        .performFor(ja, "jdk", activation::setJdk));
            }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun Mar 30 23:08:08 GMT 2025
    - 55.3K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/test/java/org/apache/maven/model/validation/DefaultModelValidatorTest.java

            assertViolations(result, 0, 0, 2);
    
            assertEquals(
                    "'profiles.profile[exists-project-version].activation.file.exists' "
                            + "Failed to interpolate profile activation property ${project.version}/test.txt: "
                            + "${project.version} expressions are not supported during profile activation.",
                    result.getWarnings().get(0));
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 33.9K bytes
    - Click Count (0)
  4. compat/maven-compat/src/test/java/org/apache/maven/project/interpolation/StringSearchModelInterpolatorTest.java

        @Test
        void interpolate() throws ModelInterpolationException, InitializationException {
            Model model = Model.newBuilder()
                    .groupId("group")
                    .location("groupId", InputLocation.of(InputSource.of("model", null)))
                    .build();
            StringSearchModelInterpolator interpolator = new StringSearchModelInterpolator();
            interpolator.initialize();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Sep 29 14:45:25 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Reader.java

        }
    
        public interface ContentTransformer {
            /**
             * Interpolate the value read from the xpp3 document
             * @param source The source value
             * @param fieldName A description of the field being interpolated. The implementation may use this to
             *                           log stuff.
             * @return The interpolated value.
             */
            String transform(String source, String fieldName);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 4K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java

                return false;
            }
    
            try {
                path = profileActivationFilePathInterpolator.interpolate(path, context);
            } catch (InterpolationException e) {
                problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE)
                        .setMessage("Failed to interpolate file location " + path + " for profile " + profile.getId() + ": "
                                + e.getMessage())
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. compat/maven-model/src/main/java/org/apache/maven/model/io/xpp3/MavenXpp3ReaderEx.java

        }
    
        public interface ContentTransformer {
            /**
             * Interpolate the value read from the xpp3 document
             *
             * @param source    the source value
             * @param fieldName a description of the field being interpolated. The implementation may use this to
             *                  log stuff
             * @return the interpolated value
             */
            String transform(String source, String fieldName);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.8K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java

                }
            });
    
            interpolator.addValueSource(new MapBasedValueSource(context.getProjectProperties()));
    
            interpolator.addValueSource(new MapBasedValueSource(context.getUserProperties()));
    
            interpolator.addValueSource(new MapBasedValueSource(context.getSystemProperties()));
    
            String absolutePath = interpolator.interpolate(path, "");
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 3.9K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/math/Quantiles.java

          // index * (dataset.length - 1) / scale. If there is no remainder, we can just find the value
          // whose index in the sorted dataset equals the quotient; if there is a remainder, we
          // interpolate between that and the next value.
    
          // Since index and (dataset.length - 1) are non-negative ints, their product can be expressed
          // as a long, without risk of overflow:
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 23 21:06:42 GMT 2026
    - 30.1K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java

        }
    
        @Override
        public MavenOptions interpolate(UnaryOperator<String> callback) {
            ArrayList<MavenOptions> interpolatedOptions = new ArrayList<>(options.size());
            for (MavenOptions o : options) {
                interpolatedOptions.add((MavenOptions) o.interpolate(callback));
            }
            return layerMavenOptions(interpolatedOptions);
        }
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.4K bytes
    - Click Count (0)
Back to Top