public abstract class WatchmanStatusEvent extends AbstractBuckEvent implements BuckEvent
Modifier and Type | Class and Description |
---|---|
static class |
WatchmanStatusEvent.FileCreation |
static class |
WatchmanStatusEvent.FileDeletion |
static class |
WatchmanStatusEvent.Finished |
static class |
WatchmanStatusEvent.Overflow |
static class |
WatchmanStatusEvent.Started |
static class |
WatchmanStatusEvent.ZeroFileChanges
This event is to be posted when Watchman does not report any altered files.
|
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
Constructor and Description |
---|
WatchmanStatusEvent(EventKey eventKey,
String eventName) |
Modifier and Type | Method and Description |
---|---|
static WatchmanStatusEvent.FileCreation |
fileCreation(String filename) |
static WatchmanStatusEvent.FileDeletion |
fileDeletion(String filename) |
static WatchmanStatusEvent.Finished |
finished() |
String |
getEventName() |
protected String |
getValueString() |
static WatchmanStatusEvent.Overflow |
overflow(String reason,
Path cellPath) |
static WatchmanStatusEvent.Started |
started() |
static WatchmanStatusEvent.ZeroFileChanges |
zeroFileChanges() |
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
getTimestampMillis, storeLastInstanceAndReplayForNewClients
protected String getValueString()
getValueString
in class AbstractBuckEvent
public String getEventName()
getEventName
in interface BuckEventExternalInterface
public static WatchmanStatusEvent.Started started()
public static WatchmanStatusEvent.Finished finished()
public static WatchmanStatusEvent.Overflow overflow(String reason, Path cellPath)
public static WatchmanStatusEvent.FileCreation fileCreation(String filename)
public static WatchmanStatusEvent.FileDeletion fileDeletion(String filename)
public static WatchmanStatusEvent.ZeroFileChanges zeroFileChanges()