public abstract class StartActivityEvent extends AbstractBuckEvent implements LeafEvent, WorkAdvanceEvent
| Modifier and Type | Class and Description |
|---|---|
static class |
StartActivityEvent.Finished |
static class |
StartActivityEvent.Started |
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 | Constructor and Description |
|---|---|
protected |
StartActivityEvent(EventKey eventKey,
BuildTarget buildTarget,
String activityName) |
| Modifier and Type | Method and Description |
|---|---|
static StartActivityEvent.Finished |
finished(StartActivityEvent.Started started,
boolean success) |
String |
getActivityName() |
BuildTarget |
getBuildTarget() |
String |
getCategory() |
protected String |
getValueString() |
static StartActivityEvent.Started |
started(BuildTarget buildTarget,
String activityName) |
configure, equals, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, hashCode, isConfigured, isRelatedTo, toLogMessage, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitconfigure, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, isConfigured, isRelatedTo, toLogMessagegetEventName, getTimestampMillis, storeLastInstanceAndReplayForNewClientsprotected StartActivityEvent(EventKey eventKey, BuildTarget buildTarget, String activityName)
public BuildTarget getBuildTarget()
public String getActivityName()
public String getCategory()
getCategory in interface LeafEventprotected String getValueString()
getValueString in class AbstractBuckEventpublic static StartActivityEvent.Started started(BuildTarget buildTarget, String activityName)
public static StartActivityEvent.Finished finished(StartActivityEvent.Started started, boolean success)