Package org.codehaus.plexus.notification.notifier

Examples of org.codehaus.plexus.notification.notifier.Notifier


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

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

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

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


        try
        {
            context.put( CONTEXT_PROJECT_NOTIFIER, projectNotifier );

            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

Related Classes of org.codehaus.plexus.notification.notifier.Notifier

Copyright © 2018 www.massapicom. 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.