public class HttpFileDescription extends Object implements DescriptionWithTargetGraph<HttpFileDescriptionArg>, LegacyProviderCompatibleDescription<HttpFileDescriptionArg>
RemoteFileDescription.| Constructor and Description |
|---|
HttpFileDescription() |
| Modifier and Type | Method and Description |
|---|---|
BuildRule |
createBuildRule(BuildRuleCreationContextWithTargetGraph context,
BuildTarget buildTarget,
BuildRuleParams params,
HttpFileDescriptionArg args)
Create a
BuildRule for the given BuildRuleParams. |
ProviderInfoCollection |
createProviders(ProviderCreationContext context,
BuildTarget buildTarget,
HttpFileDescriptionArg args) |
Class<HttpFileDescriptionArg> |
getConstructorArgType()
The type of the constructor argument that is used by this description to create a rule
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitproducesCacheableSubgraphgetConfigurationDepspublic Class<HttpFileDescriptionArg> getConstructorArgType()
BaseDescriptiongetConstructorArgType in interface BaseDescription<HttpFileDescriptionArg>public BuildRule createBuildRule(BuildRuleCreationContextWithTargetGraph context, BuildTarget buildTarget, BuildRuleParams params, HttpFileDescriptionArg args)
DescriptionWithTargetGraphBuildRule for the given BuildRuleParams. Note that the BuildTarget referred to in the params contains the Flavor to create.createBuildRule in interface DescriptionWithTargetGraph<HttpFileDescriptionArg>args - A constructor argument, of type as returned by BaseDescription.getConstructorArgType().BuildRule that describes the default flavour of the rule being described.public ProviderInfoCollection createProviders(ProviderCreationContext context, BuildTarget buildTarget, HttpFileDescriptionArg args)
createProviders in interface LegacyProviderCompatibleDescription<HttpFileDescriptionArg>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.