- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for evaluate (0.2 sec)
-
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) -
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) -
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) -
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) -
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) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelInterpolator.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 20K bytes - Viewed (0) -
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) -
maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginDescriptorSourcedParametersValidator.java
* */ abstract class AbstractMavenPluginDescriptorSourcedParametersValidator extends AbstractMavenPluginParametersValidator { // plugin author can provide @Parameter( property = "session" ) in this case property will always evaluate // so, we need ignore those // source org.apache.maven.plugin.PluginParameterExpressionEvaluator private static final List<String> IGNORED_PROPERTY_VALUES = Arrays.asList( "basedir",
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 2.5K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 4.1K bytes - Viewed (0) -
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)