Package org.gradle.api.artifacts.result
Interface ResolvedVariantResult
public interface ResolvedVariantResult
The result of successfully resolving a component variant.
- Since:
- 3.5
- 
Method SummaryModifier and TypeMethodDescriptionThe attributes associated with this variant.The capabilities provided by this variantThe display name of this variant, for diagnostics.If present, this means that this variant is a bridge to another variant found in another module.getOwner()The component which owns this variant.
- 
Method Details- 
getOwnerComponentIdentifier getOwner()The component which owns this variant.- Returns:
- the component identifier of this variant
- Since:
- 6.8
 
- 
getAttributesAttributeContainer getAttributes()The attributes associated with this variant.
- 
getDisplayNameString getDisplayName()The display name of this variant, for diagnostics.- Since:
- 4.6
 
- 
getCapabilitiesList<Capability> getCapabilities()The capabilities provided by this variant- Since:
- 5.3
 
- 
getExternalVariantOptional<ResolvedVariantResult> getExternalVariant()If present, this means that this variant is a bridge to another variant found in another module. This corresponds to variants which are marked as "available-at" in Gradle Module Metadata.- Returns:
- the external variant, if any
- Since:
- 6.8
 
 
-