FilteredVariantSelector
@Incubating interface FilteredVariantSelector<ComponentT : ComponentIdentity> : VariantSelector<ComponentT>
Summary
Public methods
|
abstract FilteredVariantSelector<ComponentT> |
Returns a new selector for ComponentT objects with a given build type.
|
abstract FilteredVariantSelector<ComponentT> |
Returns a new selector for ComponentT objects with a given (dimension, flavorName).
|
abstract VariantSelector<ComponentT> |
Registers an Action for ComponentT objects with a given name pattern.
|
Public methods
withBuildType
abstract fun withBuildType(buildType: String): FilteredVariantSelector<ComponentT>
Returns a new selector for ComponentT objects with a given build type.
Parameters |
buildType: String |
Build type to filter ComponentT on. |
withFlavor
abstract fun withFlavor(flavorToDimension: Pair<String, String>): FilteredVariantSelector<ComponentT>
Returns a new selector for ComponentT objects with a given (dimension, flavorName).
Parameters |
flavorToDimension: Pair<String, String> |
Dimension and flavor to filter ComponentT on. |
withName
abstract fun withName(pattern: Pattern): VariantSelector<ComponentT>
Registers an Action for ComponentT objects with a given name pattern.