public abstract static class BuildRuleEvent.EndingBuildRuleEvent extends BuildRuleEvent
BuildRuleEvent that denotes ending of computation for a particular BuildRule.BuildRuleEvent.BeginningBuildRuleEvent, BuildRuleEvent.EndingBuildRuleEvent, BuildRuleEvent.Finished, BuildRuleEvent.FinishedRuleKeyCalc, BuildRuleEvent.Resumed, BuildRuleEvent.Started, BuildRuleEvent.StartedRuleKeyCalc, BuildRuleEvent.Suspended, BuildRuleEvent.WillBuildLocallydurationBUILD_FINISHED, BUILD_REPORT, BUILD_STARTED, BUILD_STATUS_EVENT, CACHE_RATE_STATS_UPDATE_EVENT, INDIVIDUAL_TEST_AWAITING_RESULTS, INSTALL_STARTED, PARSE_FINISHED, PARSE_STARTED, PROJECT_GENERATION_FINISHED, PROJECT_GENERATION_STARTED, TEST_RUN_STARTED| Constructor and Description |
|---|
EndingBuildRuleEvent(BuildRuleEvent.BeginningBuildRuleEvent beginning) |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(long timestampMillis,
long nanoTime,
long threadUserNanoTime,
long threadId,
BuildId buildId)
Method to configure an event before posting it to the
BuckEventBus. |
BuildRuleEvent.BeginningBuildRuleEvent |
getBeginningEvent() |
boolean |
isRuleRunningAfterThisEvent() |
finished, getBuildRule, getDuration, getEventName, getValueString, resumed, ruleKeyCalculationFinished, ruleKeyCalculationScope, ruleKeyCalculationStarted, started, suspended, willBuildLocallyequals, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, hashCode, isConfigured, isRelatedTo, toLogMessage, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, isConfigured, isRelatedTo, toLogMessagegetTimestampMillis, storeLastInstanceAndReplayForNewClientspublic EndingBuildRuleEvent(BuildRuleEvent.BeginningBuildRuleEvent beginning)
public BuildRuleEvent.BeginningBuildRuleEvent getBeginningEvent()
public void configure(long timestampMillis,
long nanoTime,
long threadUserNanoTime,
long threadId,
BuildId buildId)
AbstractBuckEventBuckEventBus. This method should
only be invoked once per event, and only by the BuckEventBus in production code.configure in interface BuckEventconfigure in class AbstractBuckEventpublic final boolean isRuleRunningAfterThisEvent()
isRuleRunningAfterThisEvent in class BuildRuleEvent