org.overlord.sramp.governance.services
Class NotificationResource

java.lang.Object
  extended by org.overlord.sramp.governance.services.NotificationResource

public class NotificationResource
extends Object

The JAX-RS resource that handles notification specific tasks.


Constructor Summary
NotificationResource()
          Constructor.
 
Method Summary
 javax.ws.rs.core.Response emailNotification(javax.servlet.http.HttpServletRequest request, String group, String template, String target, String uuid)
          POST to email a notification about an artifact.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NotificationResource

public NotificationResource()
Constructor.

Throws:
NamingException
Method Detail

emailNotification

public javax.ws.rs.core.Response emailNotification(@Context
                                                   javax.servlet.http.HttpServletRequest request,
                                                   String group,
                                                   String template,
                                                   String target,
                                                   String uuid)
                                            throws Exception
POST to email a notification about an artifact.

Parameters:
environment -
uuid -
Throws:
org.overlord.sramp.atom.err.SrampAtomException
Exception


Copyright © 2011-2013 JBoss, a division of Red Hat. All Rights Reserved.