Package org.codehaus.plexus.notification.notifier

Examples of org.codehaus.plexus.notification.notifier.Notifier.sendNotification()


        //
        // ----------------------------------------------------------------------

        Notifier notifier = (Notifier) lookup( Notifier.ROLE, "mail" );

        notifier.sendNotification( ContinuumNotificationDispatcher.MESSAGE_ID_BUILD_COMPLETE, recipients, context );

        // ----------------------------------------------------------------------
        //
        // ----------------------------------------------------------------------
View Full Code Here


            Notifier notifier = notifierManager.getNotifier( notifierType );

            Set recipients = recipientSource.getRecipients( String.valueOf( projectNotifier.getId() ), messageId,
                                                            configuration, context );

            notifier.sendNotification( messageId, recipients, configuration, context );
        }
        catch ( NotificationException e )
        {
            getLogger().error( "Error while trying to use the " + notifierType + " notifier.", e );
        }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.