performancemonster.instrumentation.settings
Interface Setting

All Known Implementing Classes:
ClassSetting, PackageSetting

public interface Setting


Method Summary
 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.
 

Method Detail

isInstrumentationEnabled

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.

Parameters:
method - the method to test.
Returns:
true if this Setting enables instrumentation for the given method, false otherwise.
Throws:
java.lang.IllegalStateException - if the Setting is an "inherit" setting.


Copyright © 2005 Ole Friis. All Rights Reserved.