Interface INotification
- All Known Implementing Classes:
Notification,NotificationBuildCompleted,NotificationBuildStarted
public interface INotification
Interface for a Notification.
-
Method Summary
Modifier and TypeMethodDescriptionReturns the NotificationCommands object.booleanisValid()Returns true or false depending on whether the notification is valid or not.booleanReturns true of 'isVoteSameTopic()' in Gerrit config is enabled.
-
Method Details
-
getCommands
NotificationCommands getCommands()Returns the NotificationCommands object.- Returns:
- NotificationsCommands object
-
isVoteSameTopic
boolean isVoteSameTopic()Returns true of 'isVoteSameTopic()' in Gerrit config is enabled. Otherwise, false.- Returns:
- true or false depending on isVoteSameTopic in Gerrit config.
-
isValid
boolean isValid()Returns true or false depending on whether the notification is valid or not.- Returns:
- true or false
-