Enum Class APMConfigurationProperties.Pointcut.Mode
java.lang.Object
java.lang.Enum<APMConfigurationProperties.Pointcut.Mode>
tech.riemann.nif.starter.apm.APMConfigurationProperties.Pointcut.Mode
- All Implemented Interfaces:
Serializable, Comparable<APMConfigurationProperties.Pointcut.Mode>, Constable
- Enclosing class:
APMConfigurationProperties.Pointcut
public static enum APMConfigurationProperties.Pointcut.Mode
extends Enum<APMConfigurationProperties.Pointcut.Mode>
切面模式枚举
- Author:
- Kerbores(kerbores@riemann.tech)
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAPM注解模式 - 监控标记有@APM的类或方法自定义模式 - 使用自定义切面表达式全局模式 - 监控所有RestController -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REST_CONTROLLER
全局模式 - 监控所有RestController -
APM
APM注解模式 - 监控标记有@APM的类或方法H14 修正:原表达式引用了旧包名 tech.riemann.etp.apm.APM,导致 @APM 注解模式永不生效; 当前注解位于 tech.riemann.nif.apm.APM
-
CUSTOMER
自定义模式 - 使用自定义切面表达式
-
-
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
-