Package net.sf.libgrowl

Examples of net.sf.libgrowl.GrowlConnector.notify()


    Notification jenkinsNotify = new Notification(jenkinsApp, buildNotify, buildName, messageText);
    jenkinsNotify.setSticky(true);
    jenkinsNotify.setCallBackURL(message.getUrl());

    // if growl can't send notification, try to send to mac.
    if (growl.notify(jenkinsNotify) != IResponse.OK){
      MacGrowler notifier = MacGrowler.register( appName, password, clientIp);
      notifier.notify( appName, buildName, messageText, password);
    }
  }
 
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.