Interface ModuleComponentSelector
- All Superinterfaces:
ComponentSelector
Criteria for selecting a component instance that is available as a module version.
- Since:
- 1.10
-
Method Summary
Modifier and TypeMethodDescriptiongetGroup()
The group of the module to select the component from.The name of the module to select the component from.The module identifier of the component.The version of the module to select the component from.The version constraint of the module to select the component from.Methods inherited from interface org.gradle.api.artifacts.component.ComponentSelector
getAttributes, getCapabilitySelectors, getDisplayName, getRequestedCapabilities, matchesStrictly
-
Method Details
-
getGroup
String getGroup()The group of the module to select the component from.- Returns:
- Module group
- Since:
- 1.10
-
getModule
String getModule()The name of the module to select the component from.- Returns:
- Module name
-
getVersion
String getVersion()The version of the module to select the component from.- Returns:
- Module version
-
getVersionConstraint
VersionConstraint getVersionConstraint()The version constraint of the module to select the component from.- Returns:
- Module version constraint
- Since:
- 4.4
-
getModuleIdentifier
ModuleIdentifier getModuleIdentifier()The module identifier of the component. Returns the same information asgetGroup()
andgetModule()
.- Returns:
- the module identifier
- Since:
- 4.9
-