Package org.gradle.platform.base
Interface VariantComponent
- All Superinterfaces:
- ModelElement,- Named
- All Known Subinterfaces:
- ApplicationSpec,- CUnitTestSuiteSpec,- GeneralComponentSpec,- GoogleTestTestSuiteSpec,- LibrarySpec,- NativeExecutableSpec,- NativeLibrarySpec,- NativeTestSuiteSpec,- PlatformAwareComponentSpec,- TargetedNativeComponent,- TestSuiteSpec,- VariantComponentSpec
- All Known Implementing Classes:
- BaseComponentSpec
A component that has one or more mutually exclusive variants.
- 
Nested Class SummaryNested classes/interfaces inherited from interface org.gradle.api.NamedNamed.Namer
- 
Method SummaryModifier and TypeMethodDescriptiongetName()Returns the name of this element.The variants of this component.Methods inherited from interface org.gradle.model.ModelElementgetDisplayName
- 
Method Details- 
getVariantsThe variants of this component.
- 
getNameString getName()Description copied from interface:ModelElementReturns the name of this element. Each element has a name associated with it, that uniquely identifies the element amongst its siblings. Some element have their name generated or automatically assigned, and for these elements the name may not be human consumable.- Specified by:
- getNamein interface- ModelElement
- Specified by:
- getNamein interface- Named
- Returns:
- The name. Never null.
 
 
-