public class XcodeWorkspaceConfigDescription extends Object implements DescriptionWithTargetGraph<XcodeWorkspaceConfigDescriptionArg>
Constructor and Description |
---|
XcodeWorkspaceConfigDescription() |
Modifier and Type | Method and Description |
---|---|
BuildRule |
createBuildRule(BuildRuleCreationContextWithTargetGraph context,
BuildTarget buildTarget,
BuildRuleParams params,
XcodeWorkspaceConfigDescriptionArg args)
Create a
BuildRule for the given BuildRuleParams . |
static com.google.common.collect.ImmutableMap<SchemeActionType,String> |
getActionConfigNamesFromArg(Optional<XcodeWorkspaceConfigDescriptionArg> arg) |
Class<XcodeWorkspaceConfigDescriptionArg> |
getConstructorArgType()
The type of the constructor argument that is used by this description to create a rule
|
static String |
getWorkspaceNameFromArg(XcodeWorkspaceConfigDescriptionArg arg) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
producesCacheableSubgraph
getConfigurationDeps
public Class<XcodeWorkspaceConfigDescriptionArg> getConstructorArgType()
BaseDescription
getConstructorArgType
in interface BaseDescription<XcodeWorkspaceConfigDescriptionArg>
public BuildRule createBuildRule(BuildRuleCreationContextWithTargetGraph context, BuildTarget buildTarget, BuildRuleParams params, XcodeWorkspaceConfigDescriptionArg 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<XcodeWorkspaceConfigDescriptionArg>
args
- A constructor argument, of type as returned by BaseDescription.getConstructorArgType()
.BuildRule
that describes the default flavour of the rule being described.public static String getWorkspaceNameFromArg(XcodeWorkspaceConfigDescriptionArg arg)
public static com.google.common.collect.ImmutableMap<SchemeActionType,String> getActionConfigNamesFromArg(Optional<XcodeWorkspaceConfigDescriptionArg> arg)