public class DefaultDaemonCommandExecuter extends Object implements DaemonCommandExecuter
| Constructor and Description |
|---|
DefaultDaemonCommandExecuter(GradleLauncherFactory launcherFactory,
ExecutorFactory executorFactory,
ProcessEnvironment processEnvironment,
LoggingManagerInternal loggingManager,
File daemonLog) |
| Modifier and Type | Method and Description |
|---|---|
protected List<DaemonCommandAction> |
createActions(DaemonContext daemonContext) |
void |
executeCommand(Connection<Object> connection,
Command command,
DaemonContext daemonContext,
DaemonStateCoordinator daemonStateCoordinator)
Handle the given command, and communicate as necessary with the client over the given connection.
|
public DefaultDaemonCommandExecuter(GradleLauncherFactory launcherFactory, ExecutorFactory executorFactory, ProcessEnvironment processEnvironment, LoggingManagerInternal loggingManager, File daemonLog)
public void executeCommand(Connection<Object> connection, Command command, DaemonContext daemonContext, DaemonStateCoordinator daemonStateCoordinator)
DaemonCommandExecuterIf an error occurs during the action of the command that is to be reasonably expected (e.g. a failure in actually running the build for a Build command), the exception should be reported to the client and NOT thrown from this method.
The command param may be null, which means the client disconnected before sending a command.
executeCommand in interface DaemonCommandExecuterprotected List<DaemonCommandAction> createActions(DaemonContext daemonContext)
Copyright © 2013. All rights reserved