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 Named
Named.Namer -
Method Summary
Modifier and TypeMethodDescriptiongetName()Returns the name of this element.The variants of this component.Methods inherited from interface ModelElement
getDisplayName
-
Method Details
-
getVariants
-
getName
String 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 interfaceModelElement- Specified by:
getNamein interfaceNamed- Returns:
- The name. Never null.
-