Interface IgnoredTypesBuilder
This interface should not be implemented by the javaagent extension developer - the javaagent will provide the implementation.
-
Method Summary
Modifier and TypeMethodDescriptionallowClass(String classNameOrPrefix) Allow the class or package specified byclassNameOrPrefixto be instrumented.allowClassLoader(String classNameOrPrefix) Allow the class loader specified byclassNameOrPrefixto be instrumented.ignoreClass(String classNameOrPrefix) Ignore the class or package specified byclassNameOrPrefixand exclude it from being instrumented.ignoreClassLoader(String classNameOrPrefix) Ignore the class loader specified byclassNameOrPrefixand exclude it from being instrumented.ignoreTaskClass(String classNameOrPrefix) Ignore the Java concurrent task class specified byclassNameOrPrefixand exclude it from being instrumented.
-
Method Details
-
ignoreClass
Ignore the class or package specified byclassNameOrPrefixand exclude it from being instrumented. Calling this will overwrite any previous settings for passed prefix.classNameOrPrefixcan be the full class name (ex.com.example.MyClass), package name (ex.com.example.mypackage.), or outer class name (excom.example.OuterClass$)- Returns:
this
-
allowClass
Allow the class or package specified byclassNameOrPrefixto be instrumented. Calling this will overwrite any previous settings for passed prefix; in particular, calling this method will override any previousignoreClass(String)setting.classNameOrPrefixcan be the full class name (ex.com.example.MyClass), package name (ex.com.example.mypackage.), or outer class name (excom.example.OuterClass$)- Returns:
this
-
ignoreClassLoader
Ignore the class loader specified byclassNameOrPrefixand exclude it from being instrumented. Calling this will overwrite any previous settings for passed prefix.classNameOrPrefixcan be the full class name (ex.com.example.MyClass), package name (ex.com.example.mypackage.), or outer class name (excom.example.OuterClass$)- Returns:
this
-
allowClassLoader
Allow the class loader specified byclassNameOrPrefixto be instrumented. Calling this will overwrite any previous settings for passed prefix; in particular, calling this method will override any previousignoreClassLoader(String)setting.classNameOrPrefixcan be the full class name (ex.com.example.MyClass), package name (ex.com.example.mypackage.), or outer class name (excom.example.OuterClass$)- Returns:
this
-
ignoreTaskClass
Ignore the Java concurrent task class specified byclassNameOrPrefixand exclude it from being instrumented. Concurrent task classes implement or extend one of the following classes:Calling this will overwrite any previous settings for passed prefix.
classNameOrPrefixcan be the full class name (ex.com.example.MyClass), package name (ex.com.example.mypackage.), or outer class name (excom.example.OuterClass$)- Returns:
this
-