public class WorkerToolDescription extends Object implements DescriptionWithTargetGraph<WorkerToolDescriptionArg>
| Modifier and Type | Field and Description |
|---|---|
static com.google.common.collect.ImmutableList<MacroExpander<? extends Macro,?>> |
MACRO_EXPANDERS |
| Constructor and Description |
|---|
WorkerToolDescription(BuckConfig buckConfig) |
| Modifier and Type | Method and Description |
|---|---|
BuildRule |
createBuildRule(BuildRuleCreationContextWithTargetGraph context,
BuildTarget buildTarget,
BuildRuleParams params,
WorkerToolDescriptionArg args)
Create a
BuildRule for the given BuildRuleParams. |
Class<WorkerToolDescriptionArg> |
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 static final com.google.common.collect.ImmutableList<MacroExpander<? extends Macro,?>> MACRO_EXPANDERS
public WorkerToolDescription(BuckConfig buckConfig)
public Class<WorkerToolDescriptionArg> getConstructorArgType()
BaseDescriptiongetConstructorArgType in interface BaseDescription<WorkerToolDescriptionArg>public BuildRule createBuildRule(BuildRuleCreationContextWithTargetGraph context, BuildTarget buildTarget, BuildRuleParams params, WorkerToolDescriptionArg args)
DescriptionWithTargetGraphBuildRule for the given BuildRuleParams. Note that the BuildTarget referred to in the params contains the Flavor to create.createBuildRule in interface DescriptionWithTargetGraph<WorkerToolDescriptionArg>args - A constructor argument, of type as returned by BaseDescription.getConstructorArgType().BuildRule that describes the default flavour of the rule being described.