public class NotifyHelper extends Object
| 限定符和类型 | 方法和说明 |
|---|---|
static void |
fillPlatforms(List<String> platformIds,
List<NotifyPlatform> platforms,
List<NotifyItem> notifyItems) |
static Set<String> |
getAlarmKeys(NotifyItemEnum notifyItemEnum) |
static Set<String> |
getAllAlarmKeys() |
static Map<String,NotifyPlatform> |
getAllPlatforms() |
static Optional<NotifyItem> |
getNotifyItem(ExecutorWrapper executor,
NotifyItemEnum notifyType) |
static Optional<NotifyPlatform> |
getPlatform(String platformId) |
static void |
initNotify(DtpExecutor executor) |
static void |
updateNotifyInfo(DtpExecutor executor,
DtpExecutorProps props,
List<NotifyPlatform> platforms) |
static void |
updateNotifyInfo(ExecutorWrapper executorWrapper,
TpExecutorProps props,
List<NotifyPlatform> platforms) |
public static Set<String> getAlarmKeys(NotifyItemEnum notifyItemEnum)
public static Optional<NotifyItem> getNotifyItem(ExecutorWrapper executor, NotifyItemEnum notifyType)
public static void fillPlatforms(List<String> platformIds, List<NotifyPlatform> platforms, List<NotifyItem> notifyItems)
public static Optional<NotifyPlatform> getPlatform(String platformId)
public static Map<String,NotifyPlatform> getAllPlatforms()
public static void initNotify(DtpExecutor executor)
public static void updateNotifyInfo(ExecutorWrapper executorWrapper, TpExecutorProps props, List<NotifyPlatform> platforms)
public static void updateNotifyInfo(DtpExecutor executor, DtpExecutorProps props, List<NotifyPlatform> platforms)
Copyright © 2023. All rights reserved.