performancemonster.instrumentation.settings
Class PackageSetting

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

public class PackageSetting
extends java.lang.Object
implements Setting


Nested Class Summary
static class PackageSetting.Instrumentation
           
 
Constructor Summary
PackageSetting(java.lang.String packageName, PackageSetting.Instrumentation instrumentation, java.lang.String className, java.lang.String methodName)
           
 
Method Summary
static PackageSetting createDefaultPackageSetting(java.lang.String packageName)
           
 boolean equals(java.lang.Object o)
           
 java.lang.String getClassName()
           
 PackageSetting.Instrumentation getInstrumentation()
           
 java.lang.String getMethodName()
           
 java.lang.String getPackageName()
           
 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

PackageSetting

public PackageSetting(java.lang.String packageName,
                      PackageSetting.Instrumentation instrumentation,
                      java.lang.String className,
                      java.lang.String methodName)
Method Detail

createDefaultPackageSetting

public static PackageSetting createDefaultPackageSetting(java.lang.String packageName)

getInstrumentation

public PackageSetting.Instrumentation getInstrumentation()

getClassName

public java.lang.String getClassName()

getMethodName

public java.lang.String getMethodName()

getPackageName

public java.lang.String getPackageName()

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.