Class NotificationBuildCompleted
java.lang.Object
com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.notification.Notification
com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.notification.NotificationBuildCompleted
- All Implemented Interfaces:
INotification
Wrapper for the Commands and Notifications send to gerrit if build is completed.
-
Field Summary
Fields inherited from class com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.notification.Notification
gerritEvent, parameterExpander
-
Constructor Summary
ConstructorsConstructorDescriptionNotificationBuildCompleted
(BuildMemory.MemoryImprint memoryImprint, TaskListener listener, ParameterExpander parameterExpander) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionReturns the NotificationCommands object.boolean
isValid()
Returns true or false depending on whether the notification is valid or not.Methods inherited from class com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.notification.Notification
createEventTopicChange, isVoteSameTopic, queryTopicChanges
-
Constructor Details
-
NotificationBuildCompleted
public NotificationBuildCompleted(BuildMemory.MemoryImprint memoryImprint, TaskListener listener, ParameterExpander parameterExpander) Constructor.- Parameters:
memoryImprint
- the memoryImprint.listener
- the task listener.parameterExpander
- the parameter expander.
-
-
Method Details
-
getCommands
Description copied from interface:INotification
Returns the NotificationCommands object.- Returns:
- NotificationsCommands object
-
isValid
public boolean isValid()Description copied from interface:INotification
Returns true or false depending on whether the notification is valid or not.- Returns:
- true or false
-