Enum Class SensitiveRule

java.lang.Object
java.lang.Enum<SensitiveRule>
cn.iosd.starter.encrypt.desensitized.vo.SensitiveRule
所有已实现的接口:
Serializable, Comparable<SensitiveRule>, java.lang.constant.Constable

public enum SensitiveRule extends Enum<SensitiveRule>
脱敏规则
作者:
ok1996
  • 枚举常量详细资料

    • CHINESE_NAME

      public static final SensitiveRule CHINESE_NAME
      中文名
    • ID_CARD

      public static final SensitiveRule ID_CARD
      身份证号
    • FIXED_PHONE

      public static final SensitiveRule FIXED_PHONE
      座机号
    • MOBILE_PHONE

      public static final SensitiveRule MOBILE_PHONE
      手机号
    • ADDRESS

      public static final SensitiveRule ADDRESS
      地址
    • EMAIL

      public static final SensitiveRule EMAIL
      电子邮件
    • BANK_CARD

      public static final SensitiveRule BANK_CARD
      银行卡
    • PASSWORD

      public static final SensitiveRule PASSWORD
      密码
    • CUSTOM_BROADSIDE_CLEAR_TEXT

      public static final SensitiveRule CUSTOM_BROADSIDE_CLEAR_TEXT
      自定义-两侧保留明文
    • CUSTOM_BROADSIDE_MASK_TEXT

      public static final SensitiveRule CUSTOM_BROADSIDE_MASK_TEXT
      自定义-两侧密文
  • 方法详细资料

    • values

      public static SensitiveRule[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      返回:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static SensitiveRule valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      参数:
      name - 要返回的枚举常量的名称。
      返回:
      返回带有指定名称的枚举常量
      抛出:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - 如果参数为空值