use of org.gradle.launcher.daemon.server.exec.ResetDeprecationLogger in project gradle by gradle.
the class DaemonServices method createDaemonCommandActions.
protected ImmutableList<DaemonCommandAction> createDaemonCommandActions(DaemonContext daemonContext, ProcessEnvironment processEnvironment, DaemonHealthStats healthStats, DaemonHealthCheck healthCheck, BuildExecuter buildActionExecuter, DaemonRunningStats runningStats) {
File daemonLog = getDaemonLogFile();
DaemonDiagnostics daemonDiagnostics = new DaemonDiagnostics(daemonLog, daemonContext.getPid());
return ImmutableList.of(new HandleStop(get(ListenerManager.class)), new HandleCancel(), new HandleReportStatus(), new ReturnResult(), // from this point down, the daemon is 'busy'
new StartBuildOrRespondWithBusy(daemonDiagnostics), new EstablishBuildEnvironment(processEnvironment), // from this point down, logging is sent back to the client
new LogToClient(loggingManager, daemonDiagnostics), new LogAndCheckHealth(healthStats, healthCheck), new ForwardClientInput(), new RequestStopIfSingleUsedDaemon(), new ResetDeprecationLogger(), new WatchForDisconnection(), new ExecuteBuild(buildActionExecuter, runningStats, this));
}
Aggregations