public interface MergableProperties
BinderProperties
,
ProducerProperties
,
ConsumerProperties
Modifier and Type | Method and Description |
---|---|
default void |
copyProperties(Object source,
Object target) |
default void |
merge(MergableProperties mergable)
A variation of
BeanUtils.copyProperties(Object, Object) specifically designed to copy properties using the following rule:
- If source property is null then override with the same from mergable. |
default void merge(MergableProperties mergable)
BeanUtils.copyProperties(Object, Object)
specifically designed to copy properties using the following rule:
- If source property is null then override with the same from mergable.
- If source property is an array and it is empty then override with same from mergable.
- If source property is mergable then merge.Copyright © 2019 Pivotal Software, Inc.. All rights reserved.