public class RemoteBuildRuleExecutionEvent extends AbstractBuckEvent
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 |
---|---|
static RemoteBuildRuleExecutionEvent |
createEvent(BuildRule buildRule,
long executionDurationMs) |
BuildRule |
getBuildRule() |
String |
getEventName() |
long |
getExecutionDurationMs() |
protected String |
getValueString() |
static void |
postEvent(BuckEventBus buckEventBus,
BuildRule buildRule,
long executionDurationMs)
Posts event of type RemoteBuildRuleExecutionEvent into
BuckEventBus |
configure, equals, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, hashCode, isConfigured, isRelatedTo, toLogMessage, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
storeLastInstanceAndReplayForNewClients
public BuildRule getBuildRule()
public long getExecutionDurationMs()
public String getEventName()
protected String getValueString()
getValueString
in class AbstractBuckEvent
public static void postEvent(BuckEventBus buckEventBus, BuildRule buildRule, long executionDurationMs)
BuckEventBus
public static RemoteBuildRuleExecutionEvent createEvent(BuildRule buildRule, long executionDurationMs)