Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 for evaluate (0.21 sec)

  1. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluator.java

            }
    
            this.basedir = basedir;
        }
    
        @Override
        public Object evaluate(String expr) throws ExpressionEvaluationException {
            return evaluate(expr, null);
        }
    
        @Override
        @SuppressWarnings("checkstyle:methodlength")
        public Object evaluate(String expr, Class<?> type) throws ExpressionEvaluationException {
            Object value = null;
    
    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)
  2. maven-core/src/main/java/org/apache/maven/plugin/PluginParameterExpressionEvaluatorV4.java

            }
    
            this.basedir = basedir;
        }
    
        @Override
        public Object evaluate(String expr) throws ExpressionEvaluationException {
            return evaluate(expr, null);
        }
    
        @Override
        @SuppressWarnings("checkstyle:methodlength")
        public Object evaluate(String expr, Class<?> type) throws ExpressionEvaluationException {
            Object value = null;
    
            if (expr == null) {
    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)
  3. 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)
  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. analysis/analysis-api-fe10/tests-gen/org/jetbrains/kotlin/analysis/api/fe10/test/cases/generated/cases/components/compileTimeConstantProvider/Fe10IdeNormalAnalysisSourceModuleCompileTimeConstantEvaluatorTestGenerated.java

      }
    
      @Test
      @TestMetadata("string_plusOnce.kt")
      public void testString_plusOnce() {
        runTest("analysis/analysis-api/testData/components/compileTimeConstantProvider/evaluate/string_plusOnce.kt");
      }
    
      @Test
      @TestMetadata("string_plusTwice.kt")
      public void testString_plusTwice() {
    Java
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Feb 16 12:48:24 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/configuration/internal/EnhancedConfigurationConverter.java

                        } else {
                            result = evaluator.evaluate(value);
                        }
                    }
                }
                failIfNotTypeCompatible(result, type, configuration);
                return result;
            } catch (final ExpressionEvaluationException e) {
                final String reason = String.format(
    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)
  7. 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)
  8. android/guava/src/com/google/common/base/Predicates.java

      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code
       * false}.
       */
      public static <T extends @Nullable Object> Predicate<T> not(Predicate<T> predicate) {
        return new NotPredicate<>(predicate);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Predicates.java

      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if the given predicate evaluates to {@code
       * false}.
       */
      public static <T extends @Nullable Object> Predicate<T> not(Predicate<T> predicate) {
        return new NotPredicate<>(predicate);
      }
    
      /**
       * Returns a predicate that evaluates to {@code true} if each of its components evaluates to
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/indexer/DocBoostMatcher.java

            if (map == null || map.isEmpty() || matchExpression == null) {
                return false;
            }
    
            final Object value = ComponentUtil.getScriptEngineFactory().getScriptEngine(scriptType).evaluate(matchExpression, map);
            if (value instanceof Boolean) {
                return ((Boolean) value);
            }
    
            return false;
        }
    
        public float getValue(final Map<String, Object> map) {
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 2.8K bytes
    - Viewed (0)
Back to top