Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 35 for evaluator (0.24 sec)

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

            XmlNode toXml(PlexusConfiguration config, ExpressionEvaluator evaluator) throws ExpressionEvaluationException {
                List<XmlNode> children = new ArrayList<>();
                for (PlexusConfiguration c : config.getChildren()) {
                    children.add(toXml(c, evaluator));
                }
                String name = config.getName();
                Object value = evaluator.evaluate(config.getValue());
    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)
  2. maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                    } else {
                        result = evaluator.evaluate(value);
                    }
                }
                if (null == result && configuration.getChildCount() == 0) {
                    value = configuration.getAttribute("default-value");
                    if (null != value && !value.isEmpty()) {
                        if (evaluator instanceof TypeAwareExpressionEvaluator) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedComponentConfigurator.java

                final ExpressionEvaluator evaluator,
                final ClassRealm realm,
                final ConfigurationListener listener)
                throws ComponentConfigurationException {
            try {
                ClassRealmConverter.pushContextRealm(realm);
    
                this.configureComponent(component, configuration, evaluator, (ClassLoader) realm, listener);
            } finally {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Feb 05 09:45:47 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  4. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4Test.java

            assertNull(ee.evaluate("${rootDirectory}"));
        }
    
        @Test
        void testRootDirectoryWithNull() throws Exception {
            ExpressionEvaluator ee = createExpressionEvaluator(createDefaultProject(), new Properties());
            Exception e = assertThrows(Exception.class, () -> ee.evaluate("${session.rootDirectory}"));
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 19.2K bytes
    - Viewed (0)
  5. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

    /**
     * Evaluator for plugin parameters expressions. Content surrounded by <code>${</code> and <code>}</code> is evaluated.
     * Recognized values are:
     * <table border="1">
     * <caption>Expression matrix</caption>
     * <tr><th>expression</th>                     <th></th>               <th>evaluation result</th></tr>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Oct 17 17:55:08 GMT 2023
    - 16.7K bytes
    - Viewed (0)
  6. maven-core/src/test/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorTest.java

            Object value = ee.evaluate("${" + key + "}");
    
            assertEquals(checkValue, value);
        }
    
        @Test
        void testBasedirExtractionWithMissingProject() throws Exception {
            ExpressionEvaluator ee = createExpressionEvaluator(null, null, new Properties());
    
            Object value = ee.evaluate("${basedir}");
    
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Tue Dec 05 08:11:33 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  7. maven-core/src/site/apt/getting-to-container-configured-mojos.apt

      there, we need to do several things to add capability to the default
      configuration of plexus. This document will detail those changes.
    
    Container Enhancements
    
    * ExpressionEvaluator
    
      Currently, the expression evaluator used to resolve configuration values
      is the DefaultExpressionEvaluator, which is a local variable within the
      implementation of the BasicComponentConfigurator. This ExpressionEvaluator
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Jan 30 15:20:35 GMT 2023
    - 4.1K bytes
    - Viewed (0)
  8. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

    /**
     * Evaluator for plugin parameters expressions. Content surrounded by <code>${</code> and <code>}</code> is evaluated.
     * Recognized values are:
     * <table border="1">
     * <caption>Expression matrix</caption>
     * <tr><th>expression</th>                     <th></th>               <th>evaluation result</th></tr>
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Jan 30 23:39:19 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java

                    }
                }
                return null;
            }
        }
    
        /**
         * Ensures that expressions referring to URLs evaluate to normalized URLs.
         *
         */
        static class UrlNormalizingPostProcessor implements InterpolationPostProcessor {
    
            private static final Set<String> URL_EXPRESSIONS;
    
            static {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 20K bytes
    - Viewed (0)
  10. maven-core/src/main/java/org/apache/maven/plugin/internal/DefaultMavenPluginManager.java

                if (config != null) {
                    String expression = config.getValue(null);
    
                    try {
                        value = expressionEvaluator.evaluate(expression);
    
                        if (value == null) {
                            value = config.getAttribute("default-value", null);
                        }
                    } catch (ExpressionEvaluationException e) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Apr 25 14:13:36 GMT 2024
    - 42.5K bytes
    - Viewed (0)
Back to top