Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for interpolate (0.1 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java

         */
        @Nullable
        default String interpolate(
                @Nullable String val, @Nullable Function<String, String> callback, boolean defaultsToEmpty) {
            return interpolate(val, callback, null, defaultsToEmpty);
        }
    
        /**
         * Interpolates a single string value using the provided callback function.
         *
         * @param val The string to be interpolated.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Oct 17 09:25:53 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. 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}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

                for (ValueSource vs : valueSources) {
                    interpolator.addValueSource(vs);
                }
    
                for (InterpolationPostProcessor postProcessor : postProcessors) {
                    interpolator.addPostProcessor(postProcessor);
                }
    
                try {
                    try {
                        result = interpolator.interpolate(result, recursionInterceptor);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/StringSearchModelInterpolator.java

                }
            } finally {
                getInterpolator().clearAnswers();
            }
        }
    
        protected Interpolator createInterpolator() {
            StringSearchInterpolator interpolator = new StringSearchInterpolator();
            interpolator.setCacheAnswers(true);
    
            return interpolator;
        }
    
        private static final class InterpolateObjectAction implements PrivilegedAction<ModelInterpolationException> {
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java

                            it.set(interpolator.interpolate(it.next()));
                        }
                    }
                    commandLineBuilder.addOption(option);
                }
                for (String arg : options.commandLine.getArgList()) {
                    commandLineBuilder.addArg(interpolator.interpolate(arg));
                }
                return new CommonsCliEncryptOptions(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. 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 {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  7. 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, "");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java

            final StringSearchInterpolator interpolator = new StringSearchInterpolator();
            interpolator.setCacheAnswers(true);
            for (ValueSource vs : valueSources) {
                interpolator.addValueSource(vs);
            }
            for (InterpolationPostProcessor postProcessor : postProcessors) {
                interpolator.addPostProcessor(postProcessor);
            }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/CommonsCliMavenOptions.java

                            it.set(interpolator.interpolate(it.next()));
                        }
                    }
                    commandLineBuilder.addOption(option);
                }
                for (String arg : options.commandLine.getArgList()) {
                    commandLineBuilder.addArg(interpolator.interpolate(arg));
                }
                return new CommonsCliMavenOptions(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 16K bytes
    - Viewed (0)
Back to top