Package com.facebook.buck.core.rules
Interface LegacyProviderCompatibleDescription<T extends BuildRuleArg>
-
- All Superinterfaces:
BaseDescription<T>
,Description<T>
,DescriptionWithTargetGraph<T>
- All Known Implementing Classes:
CsharpLibraryDescription
,HttpArchiveDescription
,HttpFileDescription
public interface LegacyProviderCompatibleDescription<T extends BuildRuleArg> extends DescriptionWithTargetGraph<T>
Marks aDescriptionWithTargetGraph
as compatible withProvider
s.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProviderInfoCollection
createProviders(ProviderCreationContext context, BuildTarget buildTarget, T args)
-
Methods inherited from interface com.facebook.buck.core.description.BaseDescription
getConfigurationDeps, getConstructorArgType
-
Methods inherited from interface com.facebook.buck.core.rules.DescriptionWithTargetGraph
createBuildRule, producesCacheableSubgraph
-
-
-
-
Method Detail
-
createProviders
ProviderInfoCollection createProviders(ProviderCreationContext context, BuildTarget buildTarget, T args)
- Parameters:
context
- theProviderCreationContext
that the implementation has access tobuildTarget
- the currentBuildTarget
, with flavoursargs
- A constructor argument, of type as returned byBaseDescription.getConstructorArgType()
- Returns:
- the
ProviderInfoCollection
of this rule.
-
-