public class PrebuiltDotnetLibraryRuleDescription extends Object implements RuleDescription<PrebuiltDotnetLibraryDescriptionArg>
Constructor and Description |
---|
PrebuiltDotnetLibraryRuleDescription() |
Modifier and Type | Method and Description |
---|---|
Class<PrebuiltDotnetLibraryDescriptionArg> |
getConstructorArgType()
The type of the constructor argument that is used by this description to create a rule
|
ProviderInfoCollection |
ruleImpl(RuleAnalysisContext context,
BuildTarget target,
PrebuiltDotnetLibraryDescriptionArg args)
Runs the rule implementation during the analysis phase.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
producesCacheableSubgraph
getConfigurationDeps
public PrebuiltDotnetLibraryRuleDescription()
public Class<PrebuiltDotnetLibraryDescriptionArg> getConstructorArgType()
BaseDescription
getConstructorArgType
in interface BaseDescription<PrebuiltDotnetLibraryDescriptionArg>
public ProviderInfoCollection ruleImpl(RuleAnalysisContext context, BuildTarget target, PrebuiltDotnetLibraryDescriptionArg args) throws ActionCreationException, RuleAnalysisException
RuleDescription
Provider
s and corresponding
InfoInterface
s, and register its corresponding
actions.ruleImpl
in interface RuleDescription<PrebuiltDotnetLibraryDescriptionArg>
context
- a RuleAnalysisContext
containing all the information usable by this rule
for it's analysis and constructive of its corresponding Provider
and BuildRule
graph.target
- the BuildTarget
of this ruleargs
- The args of type T
that this rule uses to rule its analysisProviderInfoCollection
that contains all the Provider
and the corresponding InfoInterface
to be propagated by this rule.ActionCreationException
- If an action cannot be created correctlyRuleAnalysisException
- If the rule implementation could not run as expected. e.g. if the
implementation method of a User Defined Rule fails to eval