public abstract static class BuildRuleEvent.BeginningBuildRuleEvent extends BuildRuleEvent
BuildRuleEvent that denotes beginning 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 |
|---|
BeginningBuildRuleEvent(EventKey eventKey,
BuildRule rule,
BuildRuleDurationTracker tracker) |
| 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. |
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 BeginningBuildRuleEvent(EventKey eventKey, BuildRule rule, BuildRuleDurationTracker tracker)
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