package com.ycwl.basic.service.pc.strategy.impl;

import com.ycwl.basic.service.pc.strategy.RematchContext;
import com.ycwl.basic.service.pc.strategy.RematchModeStrategy;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

/**
 * 默认重匹配策略(模式0或其他未定义模式)
 * 条件: 不触发重匹配
 *
 * @author longbinbin
 * @date 2025-01-31
 */
@Slf4j
@Component
public class DefaultRematchStrategy implements RematchModeStrategy {

    @Override
    public boolean shouldRematch(RematchContext context) {
        log.debug("DefaultRematchStrategy判断: 默认不重匹配");
        return false;
    }

    @Override
    public int getMode() {
        return 0;
    }
}
