Interface Event
-
public interface EventInterface for events for theEventService.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classEvent.SEVERITY
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @Nullable TypeIdentifiergetAssociatedObject()@NotNull TypeIdentifiergetIdentifier()Represents a uniquely identifiable object in the system.@NotNull StringgetMessage()@Nullable PayloadgetPayload()@NotNull Event.SEVERITYgetSeverity()@Nullable TypeIdentifiergetSource()@NotNull LonggetTimestamp()
-
-
-
Method Detail
-
getSeverity
@NotNull @NotNull Event.SEVERITY getSeverity()
- Returns:
- the severity of the event
-
getTimestamp
@NotNull @NotNull Long getTimestamp()
- Returns:
- unix timestamp when this event was created
-
getAssociatedObject
@Nullable @Nullable TypeIdentifier getAssociatedObject()
- Returns:
- the type identifier of the associated object
-
getSource
@Nullable @Nullable TypeIdentifier getSource()
- Returns:
- the type identifier of the source of this event
-
getIdentifier
@NotNull @NotNull TypeIdentifier getIdentifier()
Represents a uniquely identifiable object in the system.- Returns:
- The system-wide identifier of the object
-
-