Package org.gradle.platform.base
Interface VariantComponent
- All Superinterfaces:
ModelElement
,Named
- All Known Subinterfaces:
ApplicationSpec
,CUnitTestSuiteSpec
,GeneralComponentSpec
,GoogleTestTestSuiteSpec
,JUnitTestSuiteSpec
,JvmLibrarySpec
,JvmTestSuiteSpec
,LibrarySpec
,NativeExecutableSpec
,NativeLibrarySpec
,NativeTestSuiteSpec
,PlatformAwareComponentSpec
,PlayApplicationSpec
,PlayPlatformAwareComponentSpec
,TargetedNativeComponent
,TestSuiteSpec
,VariantComponentSpec
- All Known Implementing Classes:
BaseComponentSpec
A component that has one or more mutually exclusive variants.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.gradle.api.Named
Named.Namer
-
Method Summary
Modifier and TypeMethodDescriptiongetName()
Returns the name of this element.The variants of this component.Methods inherited from interface org.gradle.model.ModelElement
getDisplayName
-
Method Details
-
getVariants
The variants of this component. -
getName
String getName()Description copied from interface:ModelElement
Returns 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:
getName
in interfaceModelElement
- Specified by:
getName
in interfaceNamed
- Returns:
- The name. Never null.
-