Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for interpolate (0.08 seconds)

  1. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/ModelInterpolator.java

        /**
         * @deprecated Use {@link ModelInterpolator#interpolate(Model, File, ProjectBuilderConfiguration, boolean)} instead.
         */
        @Deprecated
        Model interpolate(Model project, Map<String, ?> context) throws ModelInterpolationException;
    
        /**
         * @deprecated Use {@link ModelInterpolator#interpolate(Model, File, ProjectBuilderConfiguration, boolean)} instead.
         */
        @Deprecated
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.1K bytes
    - Click Count (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         *
         * @param properties The map containing key-value pairs to be interpolated.
         * @param callback The function to resolve variable values not found in the map.
         */
        default void interpolate(@Nonnull Map<String, String> properties, @Nullable UnaryOperator<String> callback) {
            interpolate(properties, callback, null, true);
        }
    
        /**
         * Interpolates the values in the given map using the provided callback function.
         *
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Mon Jan 13 16:14:35 GMT 2025
    - 6.9K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelInterpolator.java

    public interface ModelInterpolator {
    
        /**
         * Interpolates expressions in the specified model. Note that implementations are free to either interpolate the
         * provided model directly or to create a clone of the model and interpolate the clone. Callers should always use
         * the returned model and must not rely on the input model being updated.
         *
         * @param model The model to interpolate, must not be {@code null}.
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

            RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
    
            interpolator.addValueSource(new PropertiesBasedValueSource(request.getUserProperties()));
    
            interpolator.addValueSource(new PropertiesBasedValueSource(request.getSystemProperties()));
    
            try {
                interpolator.addValueSource(new EnvarBasedValueSource());
            } catch (IOException e) {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

                        fileString = interpolator.interpolate(fileString, "").replace("\\", "/");
                        File file = new File(fileString);
                        return !file.exists();
                    }
                } catch (InterpolationException e) {
                    if (logger.isDebugEnabled()) {
                        logger.debug("Failed to interpolate missing file location for profile activator: " + fileString, e);
                    } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  6. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java

                    }
                    return null;
                }
            });
    
            try {
                serializedToolchains = interpolator.interpolate(serializedToolchains);
            } catch (InterpolationException e) {
                problems.add(Problem.Severity.ERROR, "Failed to interpolate toolchains: " + e.getMessage(), -1, -1, e);
                return toolchains;
            }
    
            PersistedToolchains result;
            try {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top