public class ReadOnlyGroupableProductFlavor extends ReadOnlyProductFlavor
Read-only version of the GroupableProductFlavor wrapping another GroupableProductFlavor. In the variant API, it is important that the objects returned by the variants are read-only. However, even though the API is defined to use the base interfaces as return type (which all contain only getters), the dynamics of Groovy makes it easy to actually use the setters of the implementation classes. This wrapper ensures that the returned instance is actually just a strict implementation of the base interface and is read-only.
Type | Name and description |
---|---|
String |
getFlavorDimension() |