performancemonster.instrumentation.settings
Class ClassSetting
java.lang.Object
performancemonster.instrumentation.settings.ClassSetting
- All Implemented Interfaces:
- Setting
public class ClassSetting
- extends java.lang.Object
- implements Setting
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
ClassSetting
public ClassSetting(ClassDefinition classDefinition,
ClassSetting.Instrumentation instrumentation,
java.lang.String methodName)
createDefaultClassSetting
public static ClassSetting createDefaultClassSetting(ClassDefinition classDefinition)
getInstrumentation
public ClassSetting.Instrumentation getInstrumentation()
getMethodName
public java.lang.String getMethodName()
getClassDefinition
public ClassDefinition getClassDefinition()
isInstrumentationEnabled
public boolean isInstrumentationEnabled(MethodDefinition method)
- Description copied from interface:
Setting
- If this Setting is not an "inherit" Setting, this method is used to find
out whether or not this Setting permits instrumentation for the given
method.
- Specified by:
isInstrumentationEnabled
in interface Setting
- Parameters:
method
- the method to test.
- Returns:
- true if this Setting enables instrumentation for the given method,
false otherwise.
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in class java.lang.Object
Copyright © 2005 Ole Friis. All Rights Reserved.