yangys
2024-03-27 e48aa2ac8dea1be5db11c63edf0b912c4ad5ce65
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
package com.qianwen.core.notify.notifier;
 
import java.util.List;
import com.qianwen.core.notify.NotifyType;
import com.qianwen.core.notify.Provider;
import com.qianwen.core.notify.template.Template;
import com.qianwen.core.tool.metadata.Values;
 
/* loaded from: blade-starter-notify-9.3.0.0-SNAPSHOT.jar:org/springblade/core/notify/notifier/Notifier.class */
public interface Notifier<T extends Template> {
    String getNotifierId();
 
    NotifyType getType();
 
    Provider getProvider();
 
    NotifierProperties getNotifierProperties();
 
    void send(String templateId, String traceId, Values context, List<String> notifiedParty);
 
    void send(T template, String traceId, Values context, List<String> notifiedParty);
 
    void close();
 
    default <R extends Notifier<T>> R unwrap(Class<R> type) {
        return type.cast(this);
    }
}