T - the populated annotation type@Indexed(value=PropertyAutoPopulator.class) @Internal @FunctionalInterface public interface PropertyAutoPopulator<T extends java.lang.annotation.Annotation> extends io.micronaut.core.order.Ordered
AutoPopulated properties.
NOTE: Regarded as experimental and internal at this stage.
AutoPopulated| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
populate(RuntimePersistentProperty<?> property,
java.lang.Object previousValue)
Auto-populating the property.
|
@NonNull java.lang.Object populate(RuntimePersistentProperty<?> property, @Nullable java.lang.Object previousValue)
property - the property to auto-populatepreviousValue - the previous value, if any