public interface Flavored
DescriptionWithTargetGraph
this indicates
that it supports flavours.
This is only required to be implemented by Descriptions where the flavored BuildTarget should
be buildable in a top-level Build
. i.e. this should be
implemented by DescriptionWithTargetGraph
s where the
may have a flavored BuildTarget
- it is not
required where only the BuildRule
s are flavored.
Modifier and Type | Method and Description |
---|---|
default Optional<com.google.common.collect.ImmutableSet<FlavorDomain<?>>> |
flavorDomains(TargetConfiguration toolchainTargetConfiguration) |
default boolean |
hasFlavors(com.google.common.collect.ImmutableSet<Flavor> flavors,
TargetConfiguration toolchainTargetConfiguration) |
default boolean hasFlavors(com.google.common.collect.ImmutableSet<Flavor> flavors, TargetConfiguration toolchainTargetConfiguration)
default Optional<com.google.common.collect.ImmutableSet<FlavorDomain<?>>> flavorDomains(TargetConfiguration toolchainTargetConfiguration)