public interface BuckEvent extends BuckEventExternalInterface
BUILD_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
Modifier and Type | Method and Description |
---|---|
void |
configure(long timestamp,
long nanoTime,
long threadUserNanoTime,
long threadId,
BuildId buildId) |
BuildId |
getBuildId() |
EventKey |
getEventKey() |
long |
getNanoTime() |
long |
getThreadId() |
long |
getThreadUserNanoTime() |
boolean |
isConfigured() |
boolean |
isRelatedTo(BuckEvent event) |
String |
toLogMessage() |
getEventName, getTimestampMillis, storeLastInstanceAndReplayForNewClients
void configure(long timestamp, long nanoTime, long threadUserNanoTime, long threadId, BuildId buildId)
boolean isConfigured()
long getNanoTime()
long getThreadUserNanoTime()
String toLogMessage()
long getThreadId()
BuildId getBuildId()
boolean isRelatedTo(BuckEvent event)
(CommandEvent.started("build")).isRelatedTo(CommandEvent.finished("build")) == true
(CommandEvent.started("build")).isRelatedTo(CommandEvent.started("build")) == true
(CommandEvent.started("build")).isRelatedTo(CommandEvent.finished("install")) == false
EventKey getEventKey()