public abstract class BuildCommandOnly extends Object implements DaemonCommandAction
| Constructor and Description |
|---|
BuildCommandOnly() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
doBuild(DaemonCommandExecution execution,
Build build)
Note that the build param is the same object as execution.getCommand(), just ?pre casted?.
|
void |
execute(DaemonCommandExecution execution)
Executes this action.
|
public void execute(DaemonCommandExecution execution)
DaemonCommandActionThe execution object is a kind of continuation and also carries the ?result? of the action. For example, if an exception arises as part of actioning the command, the exception should be set on the execution object and not thrown. The implication of this is that any exceptions thrown by DaemonCommandAction implementations are programming errors in the implementation and not something like a build failure if the daemon command is to run a build.
execute in interface DaemonCommandActionprotected void doBuild(DaemonCommandExecution execution, Build build)
Copyright © 2013. All rights reserved