|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gcube.common.core.utils.handlers.GCUBEHandler<MailSummary>
org.gcube.messaging.common.consumer.mail.MailSummary
public class MailSummary
Mail summary class
Field Summary | |
---|---|
static String |
DATE_FORMAT_DAY
|
static SimpleDateFormat |
format
|
protected static org.gcube.messaging.common.consumer.mail.MailSummary.DailyScheduler |
scheduler
|
Fields inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler |
---|
handled, producer |
Constructor Summary | |
---|---|
MailSummary()
The constructor |
Method Summary | |
---|---|
void |
execute()
execute the scheduler |
void |
run()
|
static void |
sendReport(org.gcube.common.core.scope.GCUBEScope scope,
String date)
Send A daily report |
Methods inherited from class org.gcube.common.core.utils.handlers.GCUBEHandler |
---|
clearBlackboard, getBlackboard, getHandled, getId, getLogger, getName, getScopeManager, getSecurityManager, getState, notify, setBlackboard, setHandled, setLogger, setName, setScopeManager, setSecurityManager, setState, subscribe, undo, unsubscribe |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DATE_FORMAT_DAY
public static SimpleDateFormat format
protected static org.gcube.messaging.common.consumer.mail.MailSummary.DailyScheduler scheduler
Constructor Detail |
---|
public MailSummary() throws IOException
IOException
- IOExceptionMethod Detail |
---|
public 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 date
IOException
- exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |