public class WebServerBuckEventListener extends Object implements BuckEventListener
BuckEventListener
that is responsible for reporting events of interest to the StreamingWebSocketServlet
. This class passes high-level objects to the servlet, and the servlet
takes responsibility for serializing the objects as JSON down to the client.public void parseStarted(ParseEvent.Started started)
public void parseFinished(ParseEvent.Finished finished)
public void buildStarted(BuildEvent.Started started)
public void cacheRateStatsUpdate(CacheRateStatsKeeper.CacheRateStatsUpdateEvent cacheRateStatsUpdate)
public void buildFinished(BuildEvent.Finished finished)
public void testRunStarted(TestRunEvent.Started event)
public void testRunCompleted(TestRunEvent.Finished event)
public void testAwaitingResults(IndividualTestEvent.Started event)
public void testResultsAvailable(IndividualTestEvent.Finished event)
public void installEventFinished(InstallEvent.Finished event)
public void compilerErrorEvent(CompilerErrorEvent event)
public void consoleEvent(ConsoleEvent event)
public void buildProgressUpdated(ProgressEvent.BuildProgressUpdated event)
public void parsingProgressUpdated(ProgressEvent.ParsingProgressUpdated event)
public void projectGenerationProgressUpdated(ProgressEvent.ProjectGenerationProgressUpdated event)
public void projectGenerationStarted(ProjectGenerationEvent.Started event)
public void projectGenerationFinished(ProjectGenerationEvent.Finished event)
public void ruleCountCalculated(BuildEvent.RuleCountCalculated calculated)
public void ruleCountUpdated(BuildEvent.UnskippedRuleCountUpdated updated)
public void buildRuleFinished(BuildRuleEvent.Finished finished)
public void close()
BuckEventListener
close
in interface BuckEventListener
close
in interface Closeable
close
in interface AutoCloseable