public class CsharpLibraryDescription extends Object implements DescriptionWithTargetGraph<CsharpLibraryDescriptionArg>, LegacyProviderCompatibleDescription<CsharpLibraryDescriptionArg>
Constructor and Description |
---|
CsharpLibraryDescription() |
Modifier and Type | Method and Description |
---|---|
BuildRule |
createBuildRule(BuildRuleCreationContextWithTargetGraph context,
BuildTarget buildTarget,
BuildRuleParams params,
CsharpLibraryDescriptionArg args)
Create a
BuildRule for the given BuildRuleParams . |
ProviderInfoCollection |
createProviders(ProviderCreationContext context,
BuildTarget buildTarget,
CsharpLibraryDescriptionArg args) |
Class<CsharpLibraryDescriptionArg> |
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<CsharpLibraryDescriptionArg> getConstructorArgType()
BaseDescription
getConstructorArgType
in interface BaseDescription<CsharpLibraryDescriptionArg>
public BuildRule createBuildRule(BuildRuleCreationContextWithTargetGraph context, BuildTarget buildTarget, BuildRuleParams params, CsharpLibraryDescriptionArg 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<CsharpLibraryDescriptionArg>
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, CsharpLibraryDescriptionArg args)
createProviders
in interface LegacyProviderCompatibleDescription<CsharpLibraryDescriptionArg>
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.