ScopedArtifacts.Scope

public enum ScopedArtifacts.Scope extends Enum


Defines possible scopes.

Summary

Enum Values

ALL

Full scope, including project scope, imported projects and all external dependencies.

PROJECT

Project scope, not including imported projects nor external dependencies.

Public methods

final @NonNull ScopedArtifacts.Scope

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

final @NonNull ScopedArtifacts.Scope[]

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

Enum Values

ALL

ScopedArtifacts.Scope ScopedArtifacts.Scope.ALL

Full scope, including project scope, imported projects and all external dependencies.

PROJECT

ScopedArtifacts.Scope ScopedArtifacts.Scope.PROJECT

Project scope, not including imported projects nor external dependencies.

Public methods

valueOf

public final @NonNull ScopedArtifacts.Scope 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 ScopedArtifacts.Scope[] 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.