程序包 com.walker.push

接口 Strategy


public interface Strategy
推送策略定义,通过策略实现消息的频率或过滤等内容。
作者:
时克英
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
    access(Notification notification)
    是否允许放行,如果返回:false表明未通过策略检查,不能发送。
    唯一标识
  • 方法详细资料

    • access

      boolean access(Notification notification)
      是否允许放行,如果返回:false表明未通过策略检查,不能发送。
      参数:
      notification -
      返回:
    • getId

      String getId()
      唯一标识
      返回: