public class MailSummary extends org.gcube.common.core.utils.handlers.GCUBEHandler<MailSummary>
Modifier and Type | Field and Description |
---|---|
static String |
DATE_FORMAT_DAY |
static SimpleDateFormat |
format |
protected static org.gcube.messaging.common.consumer.mail.MailSummary.DailyScheduler |
scheduler |
Constructor and Description |
---|
MailSummary()
The constructor
|
Modifier and Type | Method and Description |
---|---|
void |
execute()
execute the scheduler
|
void |
run() |
static void |
sendReport(org.gcube.common.core.scope.GCUBEScope scope,
String date)
Send A daily report
|
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, getState, notify, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, setState, subscribe, undo, unsubscribe
public static final String DATE_FORMAT_DAY
public static SimpleDateFormat format
protected static org.gcube.messaging.common.consumer.mail.MailSummary.DailyScheduler scheduler
public MailSummary() throws IOException
IOException
- IOExceptionpublic void execute()
public void run() throws Exception
run
in interface org.gcube.common.core.utils.handlers.GCUBEIHandler<MailSummary>
run
in class org.gcube.common.core.utils.handlers.GCUBEHandler<MailSummary>
Exception
public static void sendReport(org.gcube.common.core.scope.GCUBEScope scope, String date) throws IOException
scope
- the scopedate
- the dateIOException
- exceptionCopyright © 2015. All Rights Reserved.