public interface VariantFilter
Modifier and Type | Method and Description |
---|---|
com.android.builder.model.BuildType |
getBuildType()
Returns the Build Type.
|
com.android.builder.model.ProductFlavor |
getDefaultConfig()
Returns the ProductFlavor that represents the default config.
|
java.util.List<com.android.builder.model.ProductFlavor> |
getFlavors()
Returns the list of flavors, or an empty list.
|
java.lang.String |
getName()
Returns the unique variant name.
|
void |
setIgnore(boolean ignore)
Sets whether or not to ignore this particular variant.
|
void setIgnore(boolean ignore)
ignore
- whether to ignore the variant@NonNull com.android.builder.model.ProductFlavor getDefaultConfig()
@NonNull com.android.builder.model.BuildType getBuildType()
@NonNull java.util.List<com.android.builder.model.ProductFlavor> getFlavors()
@NonNull java.lang.String getName()