Package net.sf.collabreview.hooks

Examples of net.sf.collabreview.hooks.ReviewRejectedHook


      @Override
      public int getPriority() {
        return PRIORITY_MEDIUM;
      }
    });
    collabReview.getRepository().registerReviewRejectedHook(new ReviewRejectedHook() {
      @Override
      public void reviewRejected(Review review) {
        review.getRepository().getCollabReview().getMailManager().newMail("Artikelbewertung abgelehnt", review.getAuthor().getEmail()).setBody(String.format(
            "Hallo %s,\n\n deine Bewertung für den Artikel %s wurde gerade von %s zurückgewiesen. Begründung:\n\n %s\n",
            review.getAuthorName(),
View Full Code Here

TOP

Related Classes of net.sf.collabreview.hooks.ReviewRejectedHook

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.