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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidSpecifies a class that should be excluded.voidSpecifies classes that should be excluded.booleanvoidfilter(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.inthashCode()voidSpecifies a method that should be excluded.voidSpecifies methods that should be excluded.voidSpecifies a package that should be excluded.voidSpecifies packages that should be excluded.toString()Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:
getPackagesin 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:
getClassesin interfacecom.dynatrace.tools.android.api.ExcludeOptions- Returns:
- classes that should be excluded
-
getMethods
Specifies methods that should be excluded.- Specified by:
getMethodsin 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:
getFiltersin interfacecom.dynatrace.tools.android.api.ExcludeOptions- Returns:
- list of custom filters
-
hashCode
public int hashCode() -
equals
-
toString
-