public interface ProviderCreationContext
LegacyProviderCompatibleDescription.createProviders(ProviderCreationContext, BuildTarget,
BuildRuleArg)
.
This is to be a subset of BuildRuleCreationContextWithTargetGraph
, plus the ProviderInfoCollection
of all the dependencies.
Modifier and Type | Method and Description |
---|---|
com.google.common.collect.ImmutableMap<BuildTarget,ProviderInfoCollection> |
dependencies() |
ProjectFilesystem |
getProjectFilesystem() |
static ProviderCreationContext |
of(Map<? extends BuildTarget,? extends ProviderInfoCollection> dependencies,
ProjectFilesystem projectFilesystem) |
com.google.common.collect.ImmutableMap<BuildTarget,ProviderInfoCollection> dependencies()
ProviderInfoCollection
of the parse time dependenciesProjectFilesystem getProjectFilesystem()
ProjectFilesystem
for the rulestatic ProviderCreationContext of(Map<? extends BuildTarget,? extends ProviderInfoCollection> dependencies, ProjectFilesystem projectFilesystem)