performancemonster.instrumentation.settings
Class ClassSetting

java.lang.Object
  extended by performancemonster.instrumentation.settings.ClassSetting
All Implemented Interfaces:
Setting

public class ClassSetting
extends java.lang.Object
implements Setting


Nested Class Summary
static class ClassSetting.Instrumentation
           
 
Constructor Summary
ClassSetting(ClassDefinition classDefinition, ClassSetting.Instrumentation instrumentation, java.lang.String methodName)
           
 
Method Summary
static ClassSetting createDefaultClassSetting(ClassDefinition classDefinition)
           
 boolean equals(java.lang.Object o)
           
 ClassDefinition getClassDefinition()
           
 ClassSetting.Instrumentation getInstrumentation()
           
 java.lang.String getMethodName()
           
 int hashCode()
           
 boolean isInstrumentationEnabled(MethodDefinition method)
          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.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ClassSetting

public ClassSetting(ClassDefinition classDefinition,
                    ClassSetting.Instrumentation instrumentation,
                    java.lang.String methodName)
Method Detail

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.