public interface LegacyProviderCompatibleDescription<T extends BuildRuleArg> extends DescriptionWithTargetGraph<T>
DescriptionWithTargetGraph
as compatible with Provider
s.Modifier and Type | Method and Description |
---|---|
ProviderInfoCollection |
createProviders(ProviderCreationContext context,
BuildTarget buildTarget,
T args) |
createBuildRule, producesCacheableSubgraph
getConfigurationDeps, getConstructorArgType
ProviderInfoCollection createProviders(ProviderCreationContext context, BuildTarget buildTarget, T args)
context
- the ProviderCreationContext
that the implementation has access tobuildTarget
- the current BuildTarget
, with flavoursargs
- A constructor argument, of type as returned by BaseDescription.getConstructorArgType()
ProviderInfoCollection
of this rule.