public abstract class InstallEvent extends AbstractBuckEvent implements LeafEvent, WorkAdvanceEvent
Modifier and Type | Class and Description |
---|---|
static class |
InstallEvent.Finished |
static class |
InstallEvent.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 |
InstallEvent(EventKey eventKey,
BuildTarget buildTarget) |
Modifier and Type | Method and Description |
---|---|
static InstallEvent.Finished |
finished(InstallEvent.Started started,
boolean success,
Optional<Long> pid,
Optional<String> packageName) |
static InstallEvent.Finished |
finished(InstallEvent.Started started,
boolean success,
Optional<Long> pid,
Optional<String> packageName,
com.google.common.collect.ImmutableMap<String,String> installDeviceInfo) |
BuildTarget |
getBuildTarget() |
String |
getCategory() |
protected String |
getValueString() |
static InstallEvent.Started |
started(BuildTarget buildTarget) |
configure, equals, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, hashCode, isConfigured, isRelatedTo, toLogMessage, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
configure, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, isConfigured, isRelatedTo, toLogMessage
getEventName, getTimestampMillis, storeLastInstanceAndReplayForNewClients
protected InstallEvent(EventKey eventKey, BuildTarget buildTarget)
public BuildTarget getBuildTarget()
public String getCategory()
getCategory
in interface LeafEvent
protected String getValueString()
getValueString
in class AbstractBuckEvent
public static InstallEvent.Started started(BuildTarget buildTarget)
public static InstallEvent.Finished finished(InstallEvent.Started started, boolean success, Optional<Long> pid, Optional<String> packageName, com.google.common.collect.ImmutableMap<String,String> installDeviceInfo)
public static InstallEvent.Finished finished(InstallEvent.Started started, boolean success, Optional<Long> pid, Optional<String> packageName)