Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for translator (0.22 sec)

  1. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java

        /**
         * Gets the optional path translator for configuration values unmarshalled to files.
         *
         * @return The path translator for files or {@code null} if none.
         */
        BeanConfigurationPathTranslator getPathTranslator();
    
        /**
         * Sets the optional path translator for configuration values unmarshalled to files.
         *
         * @param pathTranslator The path translator for files, may be {@code null} if unneeded.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 4.9K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java

                return value;
            };
    
            BeanConfigurationPathTranslator translator = path -> new File("base", path.getPath()).getAbsoluteFile();
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
            request.setValuePreprocessor(preprocessor).setPathTranslator(translator);
    
            configurator.configureBean(request);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/configuration/internal/DefaultBeanConfigurator.java

            private final BeanConfigurationValuePreprocessor preprocessor;
    
            private final BeanConfigurationPathTranslator translator;
    
            BeanExpressionEvaluator(BeanConfigurationRequest request) {
                preprocessor = request.getValuePreprocessor();
                translator = request.getPathTranslator();
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 8.2K bytes
    - Viewed (0)
  4. maven-core/src/main/java/org/apache/maven/configuration/BasedirBeanConfigurationPathTranslator.java

     */
    package org.apache.maven.configuration;
    
    import java.io.File;
    
    /**
     * A path translator that resolves relative paths against a specific base directory.
     *
     */
    public class BasedirBeanConfigurationPathTranslator implements BeanConfigurationPathTranslator {
    
        private final File basedir;
    
        /**
         * Creates a new path translator using the specified base directory.
         *
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 2.1K bytes
    - Viewed (0)
  5. maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java

                return value;
            };
    
            BeanConfigurationPathTranslator translator = path -> new File("base", path.getPath()).getAbsoluteFile();
    
            DefaultBeanConfigurationRequest request = new DefaultBeanConfigurationRequest();
            request.setBean(bean).setConfiguration(config);
            request.setValuePreprocessor(preprocessor).setPathTranslator(translator);
    
            configurator.configureBean(request);
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationPathTranslator.java

    /**
     * Postprocesses filesystem paths. For instance, a path translator might want to resolve relative paths given in the
     * bean configuration against some base directory.
     *
     */
    public interface BeanConfigurationPathTranslator {
    
        /**
         * Translates the specified path.
         *
         * @param path The path to translate, may be {@code null}.
         * @return The translated path or {@code null} if none.
         */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 1.3K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

        private static final Collection<String> TRANSLATED_PATH_EXPRESSIONS;
    
        static {
            Collection<String> translatedPrefixes = new HashSet<>();
    
            // MNG-1927, MNG-2124, MNG-3355:
            // If the build section is present and the project directory is non-null, we should make
            // sure interpolation of the directories below uses translated paths.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  8. LICENSE

          including but not limited to software source code, documentation
          source, and configuration files.
    
          "Object" form shall mean any form resulting from mechanical
          transformation or translation of a Source form, including but
          not limited to compiled object code, generated documentation,
          and conversions to other media types.
    
          "Work" shall mean the work of authorship, whether in Source or
    Plain Text
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 11 20:39:30 GMT 2013
    - 11.1K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

            // phase 2
            Model resultModel = readEffectiveModel(request, result, problems);
            problems.setSource(resultModel);
            problems.setRootModel(resultModel);
    
            // model path translation
            resultModel = modelPathTranslator.alignToBaseDirectory(resultModel, resultModel.getProjectDirectory(), request);
    
            // plugin management injection
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
  10. maven-compat/src/main/java/org/apache/maven/project/interpolation/AbstractStringBasedModelInterpolator.java

        private static final List<String> TRANSLATED_PATH_EXPRESSIONS;
    
        static {
            List<String> translatedPrefixes = new ArrayList<>();
    
            // MNG-1927, MNG-2124, MNG-3355:
            // If the build section is present and the project directory is non-null, we should make
            // sure interpolation of the directories below uses translated paths.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Sep 06 08:39:32 GMT 2023
    - 13.5K bytes
    - Viewed (0)
Back to top