public class CompilerErrorEvent extends AbstractBuckEvent implements CompilerErrorEventExternalInterface
Modifier and Type | Class and Description |
---|---|
static class |
CompilerErrorEvent.CompilerType |
COMPILER_ERROR_EVENT
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 CompilerErrorEvent |
create(BuildTarget target,
String error,
CompilerErrorEvent.CompilerType compilerType,
com.google.common.collect.ImmutableSet<String> suggestions) |
CompilerErrorEvent.CompilerType |
getCompilerType() |
String |
getError() |
String |
getEventName() |
com.google.common.collect.ImmutableSet<String> |
getSuggestions() |
String |
getTarget() |
protected String |
getValueString() |
configure, equals, getBuildId, getEventKey, getNanoTime, getThreadId, getThreadUserNanoTime, getTimestampMillis, hashCode, isConfigured, isRelatedTo, toLogMessage, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getTimestampMillis, storeLastInstanceAndReplayForNewClients
public static CompilerErrorEvent create(BuildTarget target, String error, CompilerErrorEvent.CompilerType compilerType, com.google.common.collect.ImmutableSet<String> suggestions)
protected String getValueString()
getValueString
in class AbstractBuckEvent
public String getEventName()
getEventName
in interface BuckEventExternalInterface
public String getError()
getError
in interface CompilerErrorEventExternalInterface
public String getTarget()
getTarget
in interface CompilerErrorEventExternalInterface
public CompilerErrorEvent.CompilerType getCompilerType()
public com.google.common.collect.ImmutableSet<String> getSuggestions()
getSuggestions
in interface CompilerErrorEventExternalInterface