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

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

public class MailSummary
extends

Mail summary class

Author:
Andrea Manzi(CERN)

Field Summary
static java.lang.String DATE_FORMAT_DAY
           
static java.text.SimpleDateFormat format
           
 
Constructor Summary
MailSummary()
          The constructor
 
Method Summary
 void execute()
          execute the scheduler
 void run()
           
static void sendReport(GCUBEScope scope, java.lang.String date)
          Send A daily report
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DATE_FORMAT_DAY

public static final java.lang.String DATE_FORMAT_DAY
See Also:
Constant Field Values

format

public static java.text.SimpleDateFormat format
Constructor Detail

MailSummary

public MailSummary()
            throws java.io.IOException
The constructor

Throws:
java.io.IOException - IOException
Method Detail

execute

public void execute()
execute the scheduler


run

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

sendReport

public static void sendReport(GCUBEScope scope,
                              java.lang.String date)
                       throws java.io.IOException
Send A daily report

Parameters:
scope - the scope
date - the date
Throws:
java.io.IOException - exception