Package cn.com.anysdk.core.annotation
Enum Class Sensitive.SensitiveType
- All Implemented Interfaces:
Serializable,Comparable<Sensitive.SensitiveType>,Constable
- Enclosing class:
Sensitive
脱敏类型枚举
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic Sensitive.SensitiveTypeReturns the enum constant of this class with the specified name.static Sensitive.SensitiveType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DEFAULT
默认脱敏 -
PHONE
手机号脱敏 -
ID_CARD
身份证号脱敏 -
BANK_CARD
银行卡号脱敏 -
EMAIL
邮箱脱敏 -
PASSWORD
密码脱敏 -
NAME
姓名脱敏 -
ADDRESS
地址脱敏
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-