- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 286 for Bean (0.03 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/internal/impl/SisuDiBridgeModule.java
} for (var bean : locator.get().locate(toGuiceKey(valueType))) { if (isPlexusBean(bean)) { Binding<?> b = new BindingToBeanEntry<>(valueType) .toBeanEntry(bean) .prioritize(bean.getRank()); String name = bean.getKey() instanceof com.google.inject.name.Named n ? n.value() : "";Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 17 16:01:38 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/validation/CronExpressionTest.java
assertFalse(violations.isEmpty()); assertEquals(1, violations.size()); // Test too many fields bean.setCronExpression("* * * * * * * *"); violations = validator.validate(bean); assertFalse(violations.isEmpty()); // Test too few fields bean.setCronExpression("* * *"); violations = validator.validate(bean);
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12.5K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessBaseAction.java
sessionManager.errors().saveMessages(messages); } /** * Copies properties from source bean to destination bean. * This is a utility method that wraps BeanUtil.copyBeanToBean with custom options. * * @param src the source bean object * @param dest the destination bean object * @param option a consumer function to configure copy options */
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 15K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationValuePreprocessor.java
package org.apache.maven.configuration; /** * Preprocesses a value from a bean configuration before the bean configurator unmarshals it into a bean property. A * common use case for such preprocessing is the evaluation of variables within the configuration value. * */ public interface BeanConfigurationValuePreprocessor { /** * Preprocesses the specified bean configuration value. The optional type provided to this method is a hint (not aCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.9K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurator.java
/** * Unmarshals some textual configuration from the POM or similar into the properties of a bean. This component works * similar to the way Maven configures plugins from the POM, i.e. some configuration like {@code <param>value</param>} * is mapped to an equally named property of the bean and converted. The properties of the bean are supposed to either * have a public setter or be backed by an equally named field (of any visibility). *Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 1.7K bytes - Click Count (0) -
README.md
nameProperty.setValue(bean, "John Doe"); // Bean copying with flexible options BeanUtil.copyBeanToBean(source, destination); BeanUtil.copyBeanToBean(source, destination, options -> options.exclude("password", "internalId")); // Convert between beans and maps Map<String, Object> map = BeanUtil.copyBeanToNewMap(bean); MyBean newBean = BeanUtil.copyMapToNewBean(map, MyBean.class); ``` ### Type Conversion
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sun Aug 31 02:56:02 GMT 2025 - 12.7K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/plugin/annotations/Parameter.java
* container: this annotation is only effective on fields of the Mojo class itself, nested bean injection * requires Sisu or JSR330 annotations. * * @since 4.0.0 */ @Experimental @Documented @Retention(RetentionPolicy.RUNTIME) @Target({ElementType.FIELD, ElementType.METHOD}) @Inherited public @interface Parameter { /** * name of the bean property used to get/set the field: by default, field name is used.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Feb 05 09:45:47 GMT 2024 - 3.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/util/BeanUtil.java
} } /** * Copies the source Bean to a new instance of the destination Bean and returns it. * * @param <T> The type of the destination Bean. * @param src The source Bean. Must not be {@literal null}. * @param destClass The type of the destination Bean. Must not be {@literal null}. * @return The newly copied Bean. */Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 23.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/eclipse/sisu/plexus/PlexusXmlBeanConverter.java
* * @param parser The XML parser * @return Converted bean instance */ private Object parseBean(final MXParser parser, final TypeLiteral<?> toType, final Class<?> rawType) throws Exception { final Class<?> clazz = loadImplementation(parseImplementation(parser), rawType); // simple bean? assumes string constructorCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 15.3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/configuration/BeanConfigurationRequest.java
/** * A request to configure a bean from some configuration in the POM or similar. * */ public interface BeanConfigurationRequest { /** * Gets the bean to configure. Eventually, a valid request must have a bean set. * * @return The bean to configure, or {@code null} if none. */ Object getBean(); /**Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.9K bytes - Click Count (0)