Interface NotificationContext
-
public interface NotificationContext
Contains the context data of the notification.- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Object>
getCurrentModel()
Returns the unmodifiable object model.NotificationEvent
getEventType()
Returns current event type.java.util.Collection<SUser>
getUsers()
Returns the collection of users notification is sent to
-
-
-
Method Detail
-
getUsers
@NotNull java.util.Collection<SUser> getUsers()
Returns the collection of users notification is sent to- Returns:
- collection of users
-
getCurrentModel
@NotNull java.util.Map<java.lang.String,java.lang.Object> getCurrentModel()
Returns the unmodifiable object model. Contains the map of objects set by TeamCity core.- Returns:
- current model
-
getEventType
@NotNull NotificationEvent getEventType()
Returns current event type.- Returns:
- current event type
-
-