Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for interpolate (0.05 sec)

  1. 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.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jan 13 16:14:35 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  2. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  3. 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 Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/XmlReaderRequest.java

        interface Transformer {
            /**
             * Interpolate the value read from the xml 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);
        }
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Aug 29 12:46:27 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Options.java

        Optional<Boolean> help();
    
        /**
         * Returns a new instance of {@link Options} with values interpolated using the given properties.
         *
         * @param callback the callback to use for interpolation
         * @return a new {@link Options} instance with interpolated values
         */
        @Nonnull
        Options interpolate(@Nonnull UnaryOperator<String> callback);
    
        /**
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Mon Jan 13 16:14:35 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/RegexBasedModelInterpolator.java

     */
    package org.apache.maven.project.interpolation;
    
    import java.io.IOException;
    import java.util.Properties;
    
    import org.apache.maven.project.path.PathTranslator;
    import org.codehaus.plexus.interpolation.Interpolator;
    import org.codehaus.plexus.interpolation.RegexBasedInterpolator;
    
    /**
     * Use a regular expression search to find and resolve expressions within the POM.
     *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/InterpolatorException.java

     * under the License.
     */
    package org.apache.maven.api.services;
    
    import java.io.Serial;
    
    import org.apache.maven.api.annotations.Experimental;
    
    /**
     * Exception thrown by {@link Interpolator} implementations when an error occurs during interpolation.
     * This can include syntax errors in variable placeholders or recursive variable references.
     *
     * @since 4.0.0
     */
    @Experimental
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Oct 02 21:26:05 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/settings/DefaultMavenSettingsBuilder.java

            if (path == null || path.isEmpty()) {
                // TODO This replacing shouldn't be necessary as user.home should be in the
                // context of the container and thus the value would be interpolated by Plexus
                String basedir = System.getProperty(basedirSysProp);
                if (basedir == null) {
                    basedir = System.getProperty("user.dir");
                }
    
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Fri Jun 06 14:28:57 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/BasicDerAdapter.kt

      /**
       * Returns a copy of this adapter that sets the encoded or decoded value as the type hint for the
       * other adapters on this SEQUENCE to interrogate.
       */
      fun asTypeHint(): BasicDerAdapter<T> = copy(typeHint = true)
    
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  10. docs/features/interceptors.md

    The network requests also contain more data, such as the `Accept-Encoding: gzip` header added by OkHttp to advertise support for response compression. The network interceptor's `Chain` has a non-null `Connection` that can be used to interrogate the IP address and TLS configuration that were used to connect to the webserver.
    
    ### Choosing between application and network interceptors
    
    Each interceptor chain has relative merits.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 8.1K bytes
    - Viewed (0)
Back to top