Package org.shoulder.log.operation.enums
Enum TerminalType
- All Implemented Interfaces:
Serializable,Comparable<TerminalType>,java.lang.constant.Constable
操作者使用的终端类型
- Author:
- lym
-
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 TypeMethodDescriptionintgetCode()static TerminalTypeReturns the enum constant of this type with the specified name.static TerminalType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
SYSTEM
系统内部触发 -
BROWSER
PC 浏览器 -
PC
PC 客户端 -
APP
移动 APP -
WAP
移动端浏览器 web app、h5;非微信等内嵌浏览器 -
MINA
小程序 mini APP;非浏览器应用内嵌 -
UNKNOWN
未知,如无法获取 agent
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getCode
public int getCode()
-