BrightSide Workbench Full Report + Source Code
org.turro.dossier.issue.WebIssuesNotifierTask Class Reference
Inheritance diagram for org.turro.dossier.issue.WebIssuesNotifierTask:
Collaboration diagram for org.turro.dossier.issue.WebIssuesNotifierTask:

Public Member Functions

void execute ()
 
boolean isSystem ()
 
String getName ()
 
String getDataLabel ()
 
- Public Member Functions inherited from org.turro.scheduler.task.AbstractTask
void setConstructor (IConstructor constructor)
 
void setSettings (TaskSettings settings)
 
IConstructor getConstructor ()
 
TaskSettings getSettings ()
 
void setLastExecuted (Date lastExecuted)
 
boolean isDone ()
 
boolean shouldRun (Date now)
 
void doRun (Motor motor)
 
void stop ()
 
void run ()
 
String getColor ()
 
String getIcon ()
 
String getDescription ()
 
int compareTo (AbstractTask o)
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 40 of file WebIssuesNotifierTask.java.

Member Function Documentation

◆ execute()

void org.turro.dossier.issue.WebIssuesNotifierTask.execute ( )

Reimplemented from org.turro.scheduler.task.AbstractTask.

Definition at line 43 of file WebIssuesNotifierTask.java.

43  {
44  try {
45  KeyValueMap pars = new KeyValueMap(getSettings().getData());
46  new WebIssuesNotification(getPlayers(pars.get("pubcat")),
47  (Long) ObjectString.parseNativeString(pars.get("doscat"), Long.class, true),
48  (Long) ObjectString.parseNativeString(pars.get("dossier"), Long.class, true),
49  (Long) ObjectString.parseNativeString(pars.get("days"), Long.class, true),
50  pars.get("tmpl")
51  ).sendMail(getConstructor());
52  } catch (ParserException | EmailException ex) {
53  WebLoggers.severe(this).exception(ex).log();
54  }
55  }
Here is the call graph for this function:

◆ getDataLabel()

String org.turro.dossier.issue.WebIssuesNotifierTask.getDataLabel ( )

Reimplemented from org.turro.scheduler.task.AbstractTask.

Definition at line 68 of file WebIssuesNotifierTask.java.

68  {
69  return "pubcat=;doscat=;dossier=;days=;tmpl=;";
70  }

◆ getName()

String org.turro.dossier.issue.WebIssuesNotifierTask.getName ( )

Reimplemented from org.turro.scheduler.task.AbstractTask.

Definition at line 63 of file WebIssuesNotifierTask.java.

63  {
64  return I_.get("Web issue notifier");
65  }
Here is the call graph for this function:

◆ isSystem()

boolean org.turro.dossier.issue.WebIssuesNotifierTask.isSystem ( )

Reimplemented from org.turro.scheduler.task.AbstractTask.

Definition at line 58 of file WebIssuesNotifierTask.java.

58  {
59  return false;
60  }

The documentation for this class was generated from the following file: