InstrumentationScope

public enum InstrumentationScope extends Enum


Summary

Enum Values

ALL

Instrument the classes of the current project and its library dependencies.

PROJECT

Instrument the classes of the current project only.

Public methods

final @NonNull InstrumentationScope

Returns the enum constant of this type with the specified name.

final @NonNull InstrumentationScope[]

Returns an array containing the constants of this enum type, in the order they're declared.

Enum Values

ALL

InstrumentationScope InstrumentationScope.ALL

Instrument the classes of the current project and its library dependencies.

This can't be applied to library projects, as instrumenting library dependencies will have no effect on library consumers.

PROJECT

InstrumentationScope InstrumentationScope.PROJECT

Instrument the classes of the current project only.

Libraries that this project depends on will not be instrumented.

Public methods

valueOf

public final @NonNull InstrumentationScope valueOf(@NonNull String value)

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Throws
kotlin.IllegalArgumentException

if this enum type has no constant with the specified name

values

public final @NonNull InstrumentationScope[] values()

Returns an array containing the constants of this enum type, in the order they're declared.

This method may be used to iterate over the constants.