public class HttpArchiveDescription extends Object implements DescriptionWithTargetGraph<HttpArchiveDescriptionArg>, LegacyProviderCompatibleDescription<HttpArchiveDescriptionArg>
RemoteFileDescription
.Constructor and Description |
---|
HttpArchiveDescription() |
Modifier and Type | Method and Description |
---|---|
BuildRule |
createBuildRule(BuildRuleCreationContextWithTargetGraph context,
BuildTarget buildTarget,
BuildRuleParams params,
HttpArchiveDescriptionArg args)
Create a
BuildRule for the given BuildRuleParams . |
ProviderInfoCollection |
createProviders(ProviderCreationContext context,
BuildTarget buildTarget,
HttpArchiveDescriptionArg args) |
Class<HttpArchiveDescriptionArg> |
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, wait
producesCacheableSubgraph
getConfigurationDeps
public Class<HttpArchiveDescriptionArg> getConstructorArgType()
BaseDescription
getConstructorArgType
in interface BaseDescription<HttpArchiveDescriptionArg>
public BuildRule createBuildRule(BuildRuleCreationContextWithTargetGraph context, BuildTarget buildTarget, BuildRuleParams params, HttpArchiveDescriptionArg args)
DescriptionWithTargetGraph
BuildRule
for the given BuildRuleParams
. Note that the BuildTarget
referred to in the params
contains the Flavor
to create.createBuildRule
in interface DescriptionWithTargetGraph<HttpArchiveDescriptionArg>
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, HttpArchiveDescriptionArg args)
createProviders
in interface LegacyProviderCompatibleDescription<HttpArchiveDescriptionArg>
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.