Enum TerminalType

java.lang.Object
java.lang.Enum<TerminalType>
org.shoulder.log.operation.enums.TerminalType
All Implemented Interfaces:
Serializable, Comparable<TerminalType>, java.lang.constant.Constable

public enum TerminalType extends Enum<TerminalType>
操作者使用的终端类型
Author:
lym
  • Enum Constant Details

    • SYSTEM

      public static final TerminalType SYSTEM
      系统内部触发
    • BROWSER

      public static final TerminalType BROWSER
      PC 浏览器
    • PC

      public static final TerminalType PC
      PC 客户端
    • APP

      public static final TerminalType APP
      移动 APP
    • WAP

      public static final TerminalType WAP
      移动端浏览器 web app、h5;非微信等内嵌浏览器
    • MINA

      public static final TerminalType MINA
      小程序 mini APP;非浏览器应用内嵌
    • UNKNOWN

      public static final TerminalType UNKNOWN
      未知,如无法获取 agent
  • Method Details

    • values

      public static TerminalType[] 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

      public static TerminalType valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getCode

      public int getCode()