- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for preprocessor (0.24 sec)
-
maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java
* requirement) for the preprocessor to resolve the value to a compatible value or a (string) value than can be * unmarshalled into that type. The preprocessor is not required to perform any type conversion but should rather * filter out incompatible values from its result. * * @param value The configuration value to preprocess, must not be {@code null}. * @param type The target type of the value, may be {@code null}.
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 1.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorTest.java
void testPreAndPostProcessing() throws BeanConfigurationException { SomeBean bean = new SomeBean(); Xpp3Dom config = toConfig("<file>${test}</file>"); BeanConfigurationValuePreprocessor preprocessor = (value, type) -> { if (value != null && value.startsWith("${") && value.endsWith("}")) { return value.substring(2, value.length() - 1); } return value; };
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) -
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 Apr 28 03:35:10 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/configuration/BeanConfigurationRequest.java
/** * Gets the optional preprocessor for configuration values. * * @return The preprocessor for configuration values or {@code null} if none. */ BeanConfigurationValuePreprocessor getValuePreprocessor(); /** * Sets the optional preprocessor for configuration values. * * @param valuePreprocessor The preprocessor for configuration values, may be {@code null} if unneeded.
Java - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Sep 06 08:39:32 GMT 2023 - 4.9K bytes - Viewed (0) -
maven-core/src/test/java/org/apache/maven/configuration/DefaultBeanConfiguratorPathTest.java
void testPreAndPostProcessing() throws BeanConfigurationException { SomeBean bean = new SomeBean(); Xpp3Dom config = toConfig("<file>${test}</file>"); BeanConfigurationValuePreprocessor preprocessor = (value, type) -> { if (value != null && value.startsWith("${") && value.endsWith("}")) { return value.substring(2, value.length() - 1); } return value; };
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)