# ProjectComponentSelector

interface ProjectComponentSelector : ComponentSelector

Criteria for selecting a component instance that is built as part of the current build.

#### Since

1.10

## Functions

getAttributes
Link copied to clipboard
abstract fun getAttributes(): AttributeContainer
The attributes of the module to select the component from.
getBuildPath
Link copied to clipboard
abstract fun getBuildPath(): String
Absolute build path of the build within the Gradle invocation to select a project 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.
getProjectPath
Link copied to clipboard
abstract fun getProjectPath(): String
The path of the project to select the component from.
getRequestedCapabilities
Link copied to clipboard
abstract fun getRequestedCapabilities(): List<Capability>
The explicitly requested capabilities for this component.
matchesStrictly
Link copied to clipboard
abstract fun matchesStrictly(identifier: ComponentIdentifier): Boolean
Checks if selector matches component identifier.