Class NotificationBuildStarted
java.lang.Object
com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.notification.Notification
com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.notification.NotificationBuildStarted
- All Implemented Interfaces:
 INotification
Wrapper for the Commands and Notifications send to gerrit if a build starts.
- 
Field Summary
Fields inherited from class com.sonyericsson.hudson.plugins.gerrit.trigger.gerritnotifier.notification.Notification
parameterExpander - 
Constructor Summary
ConstructorsConstructorDescriptionNotificationBuildStarted(Run build, TaskListener listener, com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent gerritEvent, BuildsStartedStats stats, ParameterExpander parameterExpander)  - 
Method Summary
Modifier and TypeMethodDescriptionReturns the NotificationCommands object.booleanisValid()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
- 
NotificationBuildStarted
public NotificationBuildStarted(Run build, TaskListener listener, com.sonymobile.tools.gerrit.gerritevents.dto.events.GerritTriggeredEvent gerritEvent, BuildsStartedStats stats, ParameterExpander parameterExpander) - Parameters:
 build- the build.listener- the task listener.gerritEvent- the event.stats- the build started stats.parameterExpander- the parameter expander.
 
 - 
 - 
Method Details
- 
getCommands
Description copied from interface:INotificationReturns the NotificationCommands object.- Returns:
 - NotificationsCommands object
 
 - 
isValid
public boolean isValid()Description copied from interface:INotificationReturns true or false depending on whether the notification is valid or not.- Returns:
 - true or false
 
 
 -