public class WriteStringTemplateRule extends AbstractBuildRuleWithDeclaredAndExtraDeps
Constructor and Description |
---|
WriteStringTemplateRule(BuildTarget buildTarget,
ProjectFilesystem projectFilesystem,
BuildRuleParams buildRuleParams,
Path output,
SourcePath template,
com.google.common.collect.ImmutableMap<String,String> values,
boolean executable) |
Modifier and Type | Method and Description |
---|---|
static WriteStringTemplateRule |
from(ProjectFilesystem projectFilesystem,
BuildRuleParams baseParams,
SourcePathRuleFinder ruleFinder,
BuildTarget target,
Path output,
SourcePath template,
com.google.common.collect.ImmutableMap<String,String> values,
boolean executable) |
com.google.common.collect.ImmutableList<Step> |
getBuildSteps(BuildContext context,
BuildableContext buildableContext) |
SourcePath |
getSourcePathToOutput() |
deprecatedGetExtraDeps, getBuildDeps, getDeclaredDeps, getTargetGraphOnlyDeps
equals, getBuildTarget, getDependencies, getProjectFilesystem, getSourcePathOutputs, getType, hasBuildSteps, hashCode, injectFields, isCacheable, toString, updateBuildRuleResolver
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
compareTo, getFullyQualifiedName, outputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecution
public WriteStringTemplateRule(BuildTarget buildTarget, ProjectFilesystem projectFilesystem, BuildRuleParams buildRuleParams, Path output, SourcePath template, com.google.common.collect.ImmutableMap<String,String> values, boolean executable)
public com.google.common.collect.ImmutableList<Step> getBuildSteps(BuildContext context, BuildableContext buildableContext)
public SourcePath getSourcePathToOutput()
public static WriteStringTemplateRule from(ProjectFilesystem projectFilesystem, BuildRuleParams baseParams, SourcePathRuleFinder ruleFinder, BuildTarget target, Path output, SourcePath template, com.google.common.collect.ImmutableMap<String,String> values, boolean executable)