org.gcube.messaging.common.consumer.mail
Class MailSummary
java.lang.Object
org.gcube.messaging.common.consumer.mail.MailSummary
public class MailSummary
- extends
Mail summary class
- Author:
- Andrea Manzi(CERN)
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 |
DATE_FORMAT_DAY
public static final java.lang.String DATE_FORMAT_DAY
- See Also:
- Constant Field Values
format
public static java.text.SimpleDateFormat format
MailSummary
public MailSummary()
throws java.io.IOException
- The constructor
- Throws:
java.io.IOException
- IOException
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 scopedate
- the date
- Throws:
java.io.IOException
- exception