Class EventContext
java.lang.Object
com.intellij.internal.statistic.eventLog.validator.rules.EventContext
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidaddError(@NotNull com.intellij.internal.statistic.eventLog.validator.rules.ValidationError validationError) static EventContextstatic EventContext@Nullable List<com.intellij.internal.statistic.eventLog.validator.rules.ValidationError><T> TgetPayload(PayloadKey<T> key) <T> voidsetPayload(PayloadKey<T> key, T value) unmodifiableOrEmptyMap(@NotNull Map<String, Object> original)
-
Field Details
-
eventId
-
eventData
-
myPayload
-
-
Method Details
-
unmodifiableOrEmptyMap
-
create
public static EventContext create(@NotNull @NotNull String eventId, @NotNull @NotNull Map<String, Object> eventData) -
create
public static EventContext create(@NotNull @NotNull String eventId, @NotNull @NotNull Map<String, Object> eventData, boolean collectErrors) -
getPayload
-
setPayload
-
addError
public void addError(@NotNull @NotNull com.intellij.internal.statistic.eventLog.validator.rules.ValidationError validationError) -
getErrors
@Nullable public @Nullable List<com.intellij.internal.statistic.eventLog.validator.rules.ValidationError> getErrors()
-