gradle
8.4

# ModuleComponentSelector

interface ModuleComponentSelector : ComponentSelector(source)

Criteria for selecting a component instance that is available as a module version.

## Functions

getAttributes
Link copied to clipboard
abstract fun getAttributes(): AttributeContainer
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
getGroup
Link copied to clipboard
abstract fun getGroup(): String
The group of the module to select the component from.
getModule
Link copied to clipboard
abstract fun getModule(): String
The name of the module to select the component from.
getModuleIdentifier
Link copied to clipboard
abstract fun getModuleIdentifier(): ModuleIdentifier
The module identifier of the component.
getRequestedCapabilities
Link copied to clipboard
abstract fun getRequestedCapabilities(): List<Capability>
getVersion
Link copied to clipboard
abstract fun getVersion(): String
The version of the module to select the component from.
getVersionConstraint
Link copied to clipboard
abstract fun getVersionConstraint(): VersionConstraint
The version constraint of the module to select the component from.
matchesStrictly
Link copied to clipboard
abstract fun matchesStrictly(identifier: ComponentIdentifier): Boolean