public class SimpleConsoleEventBusListener extends AbstractConsoleEventBusListener
AbstractConsoleEventBusListener
for terminals that don't support ansi.Modifier and Type | Field and Description |
---|---|
com.google.common.collect.ImmutableList<AdditionalConsoleLineProvider> |
buildFinishedLineProvider |
actionGraphEvents, actionGraphFinished, actionGraphStarted, ansi, buildDetailsCommands, buildFinished, buildRuleThreadTracker, buildStarted, clock, commandFinished, console, installFinished, installStarted, networkStatsTracker, numRulesCompleted, parseStats, progressEstimator, projectGenerationFinished, projectGenerationStarted, publicAnnouncements, ruleCount, UNFINISHED_EVENT_PAIR, verbosity, watchmanFinished, watchmanStarted
Constructor and Description |
---|
SimpleConsoleEventBusListener(RenderingConsole console,
Clock clock,
TestResultSummaryVerbosity summaryVerbosity,
boolean hideSucceededRules,
int numberOfSlowRulesToShow,
boolean showSlowRulesInConsole,
Locale locale,
Path testLogPath,
ExecutionEnvironment executionEnvironment,
BuildId buildId,
boolean printBuildId,
Optional<String> buildDetailsTemplate,
com.google.common.collect.ImmutableSet<String> buildDetailsCommands,
Optional<String> reSessionIDInfo,
com.google.common.collect.ImmutableList<AdditionalConsoleLineProvider> buildFinishedLineProvider) |
Modifier and Type | Method and Description |
---|---|
void |
actionGraphFinished(ActionGraphEvent.Finished finished) |
void |
buildFinished(BuildEvent.Finished finished) |
void |
buildRuleFinished(BuildRuleEvent.Finished finished) |
void |
commandFinished(CommandEvent.Finished event) |
boolean |
displaysEstimatedProgress() |
void |
installFinished(InstallEvent.Finished finished) |
void |
logEvent(ConsoleEvent event) |
void |
printSevereWarningDirectly(String line) |
void |
testResultsAvailable(IndividualTestEvent.Finished event) |
void |
testRunCompleted(TestRunEvent.Finished event) |
void |
testRunStarted(TestRunEvent.Started event) |
void |
testStatusMessageFinished(TestStatusMessageEvent.Finished finished) |
void |
testStatusMessageStarted(TestStatusMessageEvent.Started started) |
actionGraphStarted, addLineFromEventInterval, addLineFromEvents, aggregateFinishedEvent, aggregateStartedEvent, buildRuleResumed, buildRuleStarted, buildRuleSuspended, buildStarted, close, commandStartedEvent, convertToAllCapsIfNeeded, formatConsoleEvent, formatElapsedTime, getApproximateBuildProgress, getBuildDetailsLine, getBuildLogLine, getEstimatedProgressOfCreatingActionGraph, getEstimatedProgressOfGeneratingProjectFiles, getEstimatedProgressOfParsingBuckFiles, getEventsBetween, getNetworkStatsLine, getOptionalBuildLineSuffix, getTotalCompletedTimeFromEventIntervals, getWorkingTimeFromLastStartUntilNow, installStarted, logEventInterval, logEventInterval, logHttpCacheUploads, projectGenerationFinished, projectGenerationProcessedTarget, projectGenerationStarted, register, renderRemoteUploads, ruleCountCalculated, ruleCountUpdated, setProgressEstimator, setPublicAnnouncements, testRuleFinished, testRuleStarted, watchmanFinished, watchmanStarted
public final com.google.common.collect.ImmutableList<AdditionalConsoleLineProvider> buildFinishedLineProvider
public SimpleConsoleEventBusListener(RenderingConsole console, Clock clock, TestResultSummaryVerbosity summaryVerbosity, boolean hideSucceededRules, int numberOfSlowRulesToShow, boolean showSlowRulesInConsole, Locale locale, Path testLogPath, ExecutionEnvironment executionEnvironment, BuildId buildId, boolean printBuildId, Optional<String> buildDetailsTemplate, com.google.common.collect.ImmutableSet<String> buildDetailsCommands, Optional<String> reSessionIDInfo, com.google.common.collect.ImmutableList<AdditionalConsoleLineProvider> buildFinishedLineProvider)
public void actionGraphFinished(ActionGraphEvent.Finished finished)
actionGraphFinished
in class AbstractConsoleEventBusListener
public void buildFinished(BuildEvent.Finished finished)
buildFinished
in class AbstractConsoleEventBusListener
public void commandFinished(CommandEvent.Finished event)
commandFinished
in class AbstractConsoleEventBusListener
public void installFinished(InstallEvent.Finished finished)
installFinished
in class AbstractConsoleEventBusListener
public void logEvent(ConsoleEvent event)
public void printSevereWarningDirectly(String line)
printSevereWarningDirectly
in class AbstractConsoleEventBusListener
public void testRunStarted(TestRunEvent.Started event)
public void testRunCompleted(TestRunEvent.Finished event)
public void testResultsAvailable(IndividualTestEvent.Finished event)
public void buildRuleFinished(BuildRuleEvent.Finished finished)
buildRuleFinished
in class AbstractConsoleEventBusListener
public void testStatusMessageStarted(TestStatusMessageEvent.Started started)
public void testStatusMessageFinished(TestStatusMessageEvent.Finished finished)
public boolean displaysEstimatedProgress()
displaysEstimatedProgress
in class AbstractConsoleEventBusListener