public class SkylarkRuleContextActions extends Object implements SkylarkRuleContextActionsApi
| Constructor and Description |
|---|
SkylarkRuleContextActions(ActionRegistry registry) |
| Modifier and Type | Method and Description |
|---|---|
CommandLineArgsBuilderApi |
args(Object args,
String formatString,
com.google.devtools.build.lib.events.Location location) |
Artifact |
copyFile(Artifact src,
Object dest,
com.google.devtools.build.lib.events.Location location) |
Artifact |
declareFile(String path,
com.google.devtools.build.lib.events.Location location) |
void |
run(com.google.devtools.build.lib.syntax.SkylarkList<Object> arguments,
Object shortName,
Object userEnv,
com.google.devtools.build.lib.events.Location location) |
Artifact |
write(Object output,
Object content,
boolean isExecutable,
com.google.devtools.build.lib.events.Location location) |
public SkylarkRuleContextActions(ActionRegistry registry)
public Artifact declareFile(String path, com.google.devtools.build.lib.events.Location location) throws com.google.devtools.build.lib.syntax.EvalException
declareFile in interface SkylarkRuleContextActionsApicom.google.devtools.build.lib.syntax.EvalExceptionpublic Artifact copyFile(Artifact src, Object dest, com.google.devtools.build.lib.events.Location location) throws com.google.devtools.build.lib.syntax.EvalException
copyFile in interface SkylarkRuleContextActionsApicom.google.devtools.build.lib.syntax.EvalExceptionpublic Artifact write(Object output, Object content, boolean isExecutable, com.google.devtools.build.lib.events.Location location) throws com.google.devtools.build.lib.syntax.EvalException
write in interface SkylarkRuleContextActionsApicom.google.devtools.build.lib.syntax.EvalExceptionpublic CommandLineArgsBuilderApi args(Object args, String formatString, com.google.devtools.build.lib.events.Location location) throws com.google.devtools.build.lib.syntax.EvalException
args in interface SkylarkRuleContextActionsApicom.google.devtools.build.lib.syntax.EvalExceptionpublic void run(com.google.devtools.build.lib.syntax.SkylarkList<Object> arguments, Object shortName, Object userEnv, com.google.devtools.build.lib.events.Location location) throws com.google.devtools.build.lib.syntax.EvalException
run in interface SkylarkRuleContextActionsApicom.google.devtools.build.lib.syntax.EvalException