public abstract class CompilerPluginDurationEvent extends AbstractBuckEvent implements WorkAdvanceEvent
Modifier and Type | Class and Description |
---|---|
static class |
CompilerPluginDurationEvent.Finished |
static class |
CompilerPluginDurationEvent.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 |
CompilerPluginDurationEvent(EventKey eventKey,
BuildTarget buildTarget,
String pluginName,
String durationName,
com.google.common.collect.ImmutableMap<String,String> args) |
Modifier and Type | Method and Description |
---|---|
static CompilerPluginDurationEvent.Finished |
finished(CompilerPluginDurationEvent.Started startedEvent,
com.google.common.collect.ImmutableMap<String,String> args) |
com.google.common.collect.ImmutableMap<String,String> |
getArgs() |
BuildTarget |
getBuildTarget() |
String |
getDurationName() |
String |
getPluginName() |
protected String |
getValueString() |
static CompilerPluginDurationEvent.Started |
started(BuildTarget buildTarget,
String pluginName,
String durationName,
com.google.common.collect.ImmutableMap<String,String> args) |
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
public BuildTarget getBuildTarget()
public String getPluginName()
public String getDurationName()
protected String getValueString()
getValueString
in class AbstractBuckEvent
public static CompilerPluginDurationEvent.Started started(BuildTarget buildTarget, String pluginName, String durationName, com.google.common.collect.ImmutableMap<String,String> args)
public static CompilerPluginDurationEvent.Finished finished(CompilerPluginDurationEvent.Started startedEvent, com.google.common.collect.ImmutableMap<String,String> args)