Interface AttributePresetHandler<T>
-
- All Superinterfaces:
java.util.function.BiPredicate<ItemModel,java.lang.String>,java.util.function.Supplier<T>
- All Known Implementing Classes:
ComponentForCatalogVersionAttributePresetHandler,ComponentForUidAttributePresetHandler,MediaContainerForCatalogVersionAttributePresetHandler,MediaContainerForQualifierAttributePresetHandler,MediaForCatalogVersionAttributePresetHandler,MediaForCodeAttributePresetHandler
public interface AttributePresetHandler<T> extends java.util.function.BiPredicate<ItemModel,java.lang.String>, java.util.function.Supplier<T>
Uses theBiPredicateto determine if a preset value should be used during the deep cloning process or not.- If yes, the provided
Supplierfunction returns the preset value to be used for deep cloning.- Otherwise, do nothing.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default Tget(java.lang.Object originalValue)
-
-
-
Method Detail
-
get
default T get(java.lang.Object originalValue)
-
-