org.gcube.messaging.common.consumer.mail
Class MailRecipientResource

java.lang.Object
  extended by 
      extended by org.gcube.messaging.common.consumer.mail.MailRecipientResource

public class MailRecipientResource
extends

The Mail Recipients resource

Author:
Andrea Manzi

Constructor Summary
MailRecipientResource(GCUBEScope scope)
          The constructor
 
Method Summary
 java.lang.String get()
          Get the resource Profile body
 GCUBEResource getResource()
          The Resource profile
 void run()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailRecipientResource

public MailRecipientResource(GCUBEScope scope)
                      throws java.lang.Exception
The constructor

Parameters:
scope - the scope
Throws:
java.lang.Exception
Method Detail

run

public void run()
         throws java.lang.Exception
Throws:
java.lang.Exception

get

public java.lang.String get()
                     throws java.lang.Exception
Get the resource Profile body

Returns:
The String Representation of the profile body
Throws:
java.lang.Exception - Exception

getResource

public GCUBEResource getResource()
The Resource profile

Returns:
the resource profile