public class AgentConfiguration extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
AgentConfiguration.Builder
An
AgentConfiguration builder. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
static AgentConfiguration |
fromAnnotatedClass(Class<?> agentClass)
Parses the agent configuration by checking the
Agent annotation in the
specified class. |
String |
getClassName() |
String |
getInterval() |
String |
getName() |
AgentType |
getType() |
int |
hashCode() |
boolean |
isEnableStatistics() |
boolean |
isModulate() |
String |
toString()
Generates a string representation of this AgentConfiguration.
|
public String getName()
public AgentType getType()
public String getClassName()
public String getInterval()
public boolean isModulate()
public boolean isEnableStatistics()
public static AgentConfiguration fromAnnotatedClass(Class<?> agentClass)
Agent annotation in the
specified class.agentClass - the class to be mappedAgentConfiguration mapped from the specified source classAgentConfigurationException - if the annotation is not present in the classpublic String toString()
Copyright © 2022. All rights reserved.