# ComponentWithVariants

interface ComponentWithVariants : SoftwareComponent(source)

Represents a SoftwareComponent that provides one or more mutually exclusive children, or variants.

#### Since

4.3

## Functions

getName
Link copied to clipboard
abstract fun getName(): String
The object's name.
getVariants
Link copied to clipboard
abstract fun getVariants(): Set<out SoftwareComponent>
Returns the variants.