| 程序包 | 说明 |
|---|---|
| com.relaxed.common.log.biz.util |
| 限定符和类型 | 方法和说明 |
|---|---|
static List<AttributeChange> |
LogClassUtil.diff(Object leftValue,
Object rightValue)
比较两个对象的差异,返回属性变更列表
|
static List<AttributeChange> |
LogClassUtil.diff(Object leftValue,
Object rightValue,
PropertyFilter propertyFilter)
比较两个对象的差异,返回过滤后的属性变更列表
|
static List<AttributeChange> |
JsonUtil.diffJson(String expected,
String actual)
将 JSON 差异转换为属性变更列表
|
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
PropertyFilter.filterProperty(AttributeChange attributeChange,
Class<?> sourceClass,
Class<?> targetClass)
过滤属性变更 根据属性变更信息和对象类型决定是否保留该变更
|
Copyright © 2025. All rights reserved.