public class ActionRunner extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ActionRunner.ActionResult
Results of an action.
|
Constructor and Description |
---|
ActionRunner(Protocol protocol,
BuckEventBus eventBus) |
Modifier and Type | Method and Description |
---|---|
ActionRunner.ActionResult |
runAction(com.google.common.collect.ImmutableList<String> command,
com.google.common.collect.ImmutableMap<String,String> environmentOverrides,
Set<Path> outputs,
Path buildDir)
Runs an action and returns the result.
|
public ActionRunner(Protocol protocol, BuckEventBus eventBus)
public ActionRunner.ActionResult runAction(com.google.common.collect.ImmutableList<String> command, com.google.common.collect.ImmutableMap<String,String> environmentOverrides, Set<Path> outputs, Path buildDir) throws IOException, InterruptedException
IOException
InterruptedException