Package org.qubership.atp.ram.utils
Class PatchHelper
java.lang.Object
org.qubership.atp.ram.utils.PatchHelper
Util class containing useful for pathing methods.
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PatchHelper.FieldFilterstatic final PatchHelper.FieldFilterstatic final PatchHelper.FieldFilter -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetConcretePropertiesFilter(List<String> properties) partialUpdate(Object source, Object target, PatchHelper.FieldFilter... fieldFilters) Copies all fields from source to target, except those filtered by field filters.
-
Field Details
-
nullProperties
-
emptyCollectionsProperties
-
emptyMapsPropertiesFilter
-
-
Constructor Details
-
PatchHelper
public PatchHelper()
-
-
Method Details
-
partialUpdate
Copies all fields from source to target, except those filtered by field filters.- Returns:
- target object with patched values.
-
getConcretePropertiesFilter
-