public static RuleData transFrom(final RuleDO ruleDO, final String pluginName, final List<ConditionData> conditionDataList, final List<ConditionData> beforeConditionDataList) {
        return RuleData.builder()
                .id(ruleDO.getId())
                .name(ruleDO.getName())
                .pluginName(pluginName)
                .selectorId(ruleDO.getSelectorId())
                .matchMode(ruleDO.getMatchMode())
                .sort(ruleDO.getSort())
                .enabled(ruleDO.getEnabled())
                .loged(ruleDO.getLoged())
                .handle(ruleDO.getHandle())
                .matchRestful(ruleDO.getMatchRestful())
                .conditionDataList(conditionDataList)
                .beforeConditionDataList(beforeConditionDataList)
                .namespaceId(ruleDO.getNamespaceId())
                .build();
    }
Trans from rule data.

@param ruleDO            the rule do
@param pluginName        the plugin name
@param conditionDataList the condition data list
@param beforeConditionDataList the before condition data list
@return the rule data
shenyu-admin/src/main/java/org/apache/shenyu/admin/model/entity/RuleDO.java