public class RunAction extends AbstractAction
inputs, outputs, owner| Constructor and Description |
|---|
RunAction(ActionRegistry registry,
String shortName,
CommandLineArgs args,
com.google.common.collect.ImmutableMap<String,String> env) |
| Modifier and Type | Method and Description |
|---|---|
ActionExecutionResult |
execute(ActionExecutionContext executionContext)
Executes this action as part of the build
|
boolean |
isCacheable()
TODO(bobyf): should we still have this or should we enforce everything to be cacheable
|
getBuildTarget, getDependencies, getID, getInputs, getOutputs, getOwner, getShortName, getSourcePathOutputsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitoutputFileCanBeCopied, shouldRespectInputSizeLimitForRemoteExecutionpublic RunAction(ActionRegistry registry, String shortName, CommandLineArgs args, com.google.common.collect.ImmutableMap<String,String> env)
registry - the ActionRegistry to registry this action for.shortName - the short name to use in logging, console activity, etc. See AbstractAction.getShortName()args - the arguments to evaluate and use when executing the application. This evaluation
is not done until the action is executed, and at least one argument must be provided.env - any environment variables that should override the original environment.public ActionExecutionResult execute(ActionExecutionContext executionContext)
ActionexecutionContext - a set of information the action can use for executionActionExecutionResult indicating the status of execution