# ModuleComponentSelector

interface ModuleComponentSelector : ComponentSelector(source)

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

#### Since

1.10

## Functions

getAttributes
Link copied to clipboard
abstract fun getAttributes(): AttributeContainer
The attributes of the module to select the component from.
getCapabilitySelectors
Link copied to clipboard
@Incubating
abstract fun getCapabilitySelectors(): Set<CapabilitySelector>
Returns the set of capabilities that are requested for this component.
getDisplayName
Link copied to clipboard
abstract fun getDisplayName(): String
Returns a human-consumable display name for this selector.
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>
The explicitly requested capabilities for this component.
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
Checks if selector matches component identifier.