public static enum AgentBuilder.Default.NativeMethodStrategy.Disabled extends Enum<AgentBuilder.Default.NativeMethodStrategy.Disabled> implements AgentBuilder.Default.NativeMethodStrategy
AgentBuilder.Default.NativeMethodStrategy.Disabled, AgentBuilder.Default.NativeMethodStrategy.ForPrefix| Enum Constant and Description |
|---|
INSTANCE
The singleton instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPrefix()
Returns the method prefix if the strategy is enabled.
|
boolean |
isEnabled(Instrumentation instrumentation)
Determines if this strategy enables name prefixing for native methods.
|
MethodNameTransformer |
resolve()
Resolves the method name transformer for this strategy.
|
String |
toString() |
static AgentBuilder.Default.NativeMethodStrategy.Disabled |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentBuilder.Default.NativeMethodStrategy.Disabled[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentBuilder.Default.NativeMethodStrategy.Disabled INSTANCE
public static AgentBuilder.Default.NativeMethodStrategy.Disabled[] values()
for (AgentBuilder.Default.NativeMethodStrategy.Disabled c : AgentBuilder.Default.NativeMethodStrategy.Disabled.values()) System.out.println(c);
public static AgentBuilder.Default.NativeMethodStrategy.Disabled valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic MethodNameTransformer resolve()
AgentBuilder.Default.NativeMethodStrategyresolve in interface AgentBuilder.Default.NativeMethodStrategypublic boolean isEnabled(Instrumentation instrumentation)
AgentBuilder.Default.NativeMethodStrategyisEnabled in interface AgentBuilder.Default.NativeMethodStrategyinstrumentation - The instrumentation used.true if this strategy indicates that a native method prefix should be used.public String getPrefix()
AgentBuilder.Default.NativeMethodStrategygetPrefix in interface AgentBuilder.Default.NativeMethodStrategypublic String toString()
toString in class Enum<AgentBuilder.Default.NativeMethodStrategy.Disabled>Copyright © 2014–2016. All rights reserved.