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

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 38 of file MyIssuesNotifierTask.java.

Member Function Documentation

◆ execute()

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

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

Definition at line 41 of file MyIssuesNotifierTask.java.

41  {
42  ContactList list = new ContactList();
43  for(String idContact : getParticipants()) {
44  IContact ic = Contacts.getContactById(idContact);
45  if(ic.isValid() && ic.isWebUser()) {
46  list.add(ic);
47  }
48  }
49  for(IContact c : list) {
50  try {
51  new MyIssuesNotification(c).addToQueue(getConstructor());
52  } catch (EmailException ex) {
53  WebLoggers.severe(this).exception(ex).log();
54  }
55  }
56  }
Here is the call graph for this function:

◆ getDataLabel()

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

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

Definition at line 69 of file MyIssuesNotifierTask.java.

69  {
70  return null;
71  }

◆ getName()

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

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

Definition at line 64 of file MyIssuesNotifierTask.java.

64  {
65  return I_.get("My issues notifier");
66  }
Here is the call graph for this function:

◆ isSystem()

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

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

Definition at line 59 of file MyIssuesNotifierTask.java.

59  {
60  return false;
61  }

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