Package com.facebook.buck.shell
Class CommandAliasDescription
- java.lang.Object
-
- com.facebook.buck.shell.CommandAliasDescription
-
- All Implemented Interfaces:
BaseDescription<CommandAliasDescriptionArg>
,Description<CommandAliasDescriptionArg>
,DescriptionWithTargetGraph<CommandAliasDescriptionArg>
public class CommandAliasDescription extends Object implements DescriptionWithTargetGraph<CommandAliasDescriptionArg>
-
-
Constructor Summary
Constructors Constructor Description CommandAliasDescription(Platform platform)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildRule
createBuildRule(BuildRuleCreationContextWithTargetGraph context, BuildTarget buildTarget, BuildRuleParams params, CommandAliasDescriptionArg args)
Create aBuildRule
for the givenBuildRuleParams
.Class<CommandAliasDescriptionArg>
getConstructorArgType()
The type of the constructor argument that is used by this description to create a rule-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.facebook.buck.core.description.BaseDescription
getConfigurationDeps
-
Methods inherited from interface com.facebook.buck.core.rules.DescriptionWithTargetGraph
producesCacheableSubgraph
-
-
-
-
Constructor Detail
-
CommandAliasDescription
public CommandAliasDescription(Platform platform)
-
-
Method Detail
-
getConstructorArgType
public Class<CommandAliasDescriptionArg> getConstructorArgType()
Description copied from interface:BaseDescription
The type of the constructor argument that is used by this description to create a rule- Specified by:
getConstructorArgType
in interfaceBaseDescription<CommandAliasDescriptionArg>
-
createBuildRule
public BuildRule createBuildRule(BuildRuleCreationContextWithTargetGraph context, BuildTarget buildTarget, BuildRuleParams params, CommandAliasDescriptionArg args)
Description copied from interface:DescriptionWithTargetGraph
Create aBuildRule
for the givenBuildRuleParams
. Note that theBuildTarget
referred to in theparams
contains theFlavor
to create.- Specified by:
createBuildRule
in interfaceDescriptionWithTargetGraph<CommandAliasDescriptionArg>
args
- A constructor argument, of type as returned byBaseDescription.getConstructorArgType()
.- Returns:
- The
BuildRule
that describes the default flavour of the rule being described.
-
-