@Override
    public boolean equals(final Object obj) {
        if (Objects.isNull(obj)) {
            return false;
        }
        RegisterConfig registerConfig = (RegisterConfig) obj;
        if (!this.getRegisterType().equals(registerConfig.getRegisterType())) {
            return false;
        }
        if (!this.getServerLists().equals(registerConfig.getServerLists())) {
            return false;
        }
        Properties properties = this.getProps();
        Properties registerConfigProps = registerConfig.getProps();
        if (Objects.isNull(properties) && Objects.isNull(registerConfigProps)) {
            return true;
        }
        if (Objects.isNull(properties) || Objects.isNull(registerConfigProps)) {
            return false;
        }
        if (properties.entrySet().size() != registerConfigProps.entrySet().size()) {
            return false;
        }
        for (Map.Entry<Object, Object> entry : properties.entrySet()) {
            Object newValue = entry.getValue();
            Object oldValue = registerConfigProps.get(entry.getKey());
            if (!newValue.equals(oldValue)) {
                return false;
            }
        }
        return true;
    }
Sets enabled.

@param enabled the enabled
shenyu-registry/shenyu-registry-api/src/main/java/org/apache/shenyu/registry/api/config/RegisterConfig.java