|Constructor and Description|
|Modifier and Type||Method and Description|
Executes this action as part of the build
TODO(bobyf): should we still have this or should we enforce everything to be cacheable
getBuildTarget, getDependencies, getID, getInputs, getOutputs, getOwner, getShortName, getSourcePathOutputs
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public RunAction(ActionRegistry registry, String shortName, CommandLineArgs args, com.google.common.collect.ImmutableMap<String,String> env)
ActionRegistryto registry this action for.
shortName- the short name to use in logging, console activity, etc. See
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)
executionContext- a set of information the action can use for execution
ActionExecutionResultindicating the status of execution