Table of Contents
API Documentation: | ExcludeOptions |
---|
DSL object for excluding classes and methods from instrumentation.
Method | Description |
classes(excludedClass) | Specifies a class that should be excluded. |
classes(classes) | Specifies classes that should be excluded. |
filter(action) | Specifies a custom exclude filter that will exclude methods based on their class, name and description. |
methods(method) | Specifies a method that should be excluded. |
methods(methods) | Specifies methods that should be excluded. |
packages(excludedPackage) | Specifies a package that should be excluded. |
packages(packages) | Specifies packages that should be excluded. |
Specifies classes that should be excluded.
Inner classes are automatically excluded
void
classes
(String
excludedClass)
Specifies a class that should be excluded.
Inner classes are automatically excluded
void
classes
(String
...
classes)
String
...Specifies classes that should be excluded.
Inner classes are automatically excluded
void
filter
(Action
<? super ExcludeFilterOptions
>
action)
Action
<? super ExcludeFilterOptions
>Specifies a custom exclude filter that will exclude methods based on their class, name and description.
Filter strings are evaluated as regular expressions
void
methods
(String
method)
Specifies a method that should be excluded.
void
methods
(String
...
methods)
String
...Specifies methods that should be excluded.
void
packages
(String
excludedPackage)
Specifies a package that should be excluded.
Sub packages are automatically excluded
void
packages
(String
...
packages)
String
...Specifies packages that should be excluded.
Sub packages are automatically excluded