Package com.dynatrace.tools.android.dsl
Class ExcludeOptions
java.lang.Object
com.dynatrace.tools.android.dsl.ExcludeOptions
- All Implemented Interfaces:
com.dynatrace.tools.android.api.ExcludeOptions
,Serializable
public class ExcludeOptions
extends Object
implements Serializable, com.dynatrace.tools.android.api.ExcludeOptions
DSL object for excluding classes and methods from instrumentation.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Specifies a class that should be excluded.void
Specifies classes that should be excluded.boolean
void
filter
(Action<? super ExcludeFilterOptions> action) Specifies a custom exclude filter that will exclude methods based on their class, name and description.Specifies classes that should be excluded.Specifies and adds a custom exclude filter that will exclude methods based on their class, name and description.Specifies methods that should be excluded.Specifies packages that should be excluded.int
hashCode()
void
Specifies a method that should be excluded.void
Specifies methods that should be excluded.void
Specifies a package that should be excluded.void
Specifies packages that should be excluded.toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.dynatrace.tools.android.api.ExcludeOptions
getClassLevelFilter, getMethodLevelFilter
-
Constructor Details
-
ExcludeOptions
public ExcludeOptions(org.gradle.internal.reflect.Instantiator instantiator)
-
-
Method Details
-
packages
Specifies a package that should be excluded.Sub packages are automatically excluded
- Parameters:
excludedPackage
- package that should be excluded
-
packages
Specifies packages that should be excluded.Sub packages are automatically excluded
- Parameters:
packages
- packages that should be excluded
-
classes
Specifies a class that should be excluded.Inner classes are automatically excluded
- Parameters:
excludedClass
- class that should be excluded
-
classes
Specifies classes that should be excluded.Inner classes are automatically excluded
- Parameters:
classes
- classes that should be excluded
-
methods
Specifies a method that should be excluded.- Parameters:
method
- method that should be excluded
-
methods
Specifies methods that should be excluded.- Parameters:
methods
- methods that should be excluded
-
filter
Specifies a custom exclude filter that will exclude methods based on their class, name and description.Filter strings are evaluated as regular expressions
- Parameters:
action
- custom filter action
-
getPackages
Specifies packages that should be excluded.Sub packages are automatically excluded
- Specified by:
getPackages
in interfacecom.dynatrace.tools.android.api.ExcludeOptions
- Returns:
- packages that should be excluded
-
getClasses
Specifies classes that should be excluded.Inner classes are automatically excluded
- Specified by:
getClasses
in interfacecom.dynatrace.tools.android.api.ExcludeOptions
- Returns:
- classes that should be excluded
-
getMethods
Specifies methods that should be excluded.- Specified by:
getMethods
in interfacecom.dynatrace.tools.android.api.ExcludeOptions
- Returns:
- methods that should be excluded
-
getFilters
Specifies and adds a custom exclude filter that will exclude methods based on their class, name and description.Filter strings are evaluated as regular expressions
- Specified by:
getFilters
in interfacecom.dynatrace.tools.android.api.ExcludeOptions
- Returns:
- list of custom filters
-
hashCode
public int hashCode() -
equals
-
toString
-