package cn.stylefeng.workflow.instance.modular.message;

import cn.stylefeng.workflow.api.entity.task.RuTask;
import cn.stylefeng.workflow.api.pojo.InstanceContext;
import cn.stylefeng.workflow.api.pojo.config.node.notice.NodeNotice;

public interface TaskMessageApi {

    boolean validateSendFlag(NodeNotice nodeNotice);

    void sendMessage(Long userId, RuTask ruTask, NodeNotice nodeNotice, InstanceContext instanceContext);

}
