public interface NotificationService
| Modifier and Type | Method and Description | 
|---|---|
| void | recordBuildCompletion(String buildDetails,
                     hudson.model.Result result,
                     hudson.model.Result previousResult)Records the completion of a build, which may turn out to generate a notification. | 
| NewNotificationsResult | waitForNewNotifications(NotificationId previous,
                       long timeoutMs)Returns every  Notificationthat has been registered after the previously encountered
 notification, or waits for new ones to arrive. | 
NewNotificationsResult waitForNewNotifications(NotificationId previous, long timeoutMs)
Notification that has been registered after the previously encountered
 notification, or waits for new ones to arrive.previous - the last encountered NotificationId or null to list all each onetimeoutMs - the number of milliseconds to wait for new notifications before returning an empty
  resultNewNotificationsResultvoid recordBuildCompletion(String buildDetails, hudson.model.Result result, hudson.model.Result previousResult)
buildDetails - a simple string-representation of the build that completedresult - the outcome of the buildpreviousResult - the outcome of the previous build or nullCopyright © 2004-2011. All Rights Reserved.