@Incubating interface ModuleComponentSelector : ComponentSelector
Criteria for selecting a component instance that is available as a module version.
Since
1.10
abstract fun getGroup(): String
The group of the module to select the component from. |
|
abstract fun getModule(): String
The name of the module to select the component from. |
|
abstract fun getModuleIdentifier(): ModuleIdentifier
The module identifier of the component. Returns the same information as |
|
abstract fun getVersion(): String
The version of the module to select the component from. |
|
abstract fun getVersionConstraint(): VersionConstraint
The version constraint of the module to select the component from. |
abstract fun getAttributes(): AttributeContainer
The attributes of the module to select the component from. The attributes only include selector specific attributes. This means it typically doesn't include any consumer specific attribute. |
|
abstract fun getDisplayName(): String
Returns a human-consumable display name for this selector. |
|
abstract fun matchesStrictly(identifier: ComponentIdentifier): Boolean
Checks if selector matches component identifier. |