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

Public Member Functions

String getName ()
 
void run ()
 
String getDataLabel ()
 
- Public Member Functions inherited from org.turro.scheduler.motor.DefaultTask
boolean isSystem ()
 
boolean isDone ()
 
boolean isActive ()
 
void setActive (boolean active)
 
Constraints getConstraints ()
 
IConstructor getConstructor ()
 
String getData ()
 
void setData (String data)
 
String getDescription ()
 
void setDescription (String value)
 
Date getEndDate ()
 
void setEndDate (Date endDate)
 
String getImplementation ()
 
void setImplementation (String value)
 
Date getStartDate ()
 
void setStartDate (Date startDate)
 
void setLastExecuted (Date lastExecuted)
 
boolean shouldRun (Date now)
 
void doRun (Motor motor)
 
void stop ()
 
void readXML (Element root)
 
void writeXML (Element root)
 
- Public Member Functions inherited from org.turro.elephant.impl.abstracts.AbstractImplementation
 AbstractImplementation ()
 
void setElement (IElement element)
 
void setConstructor (IConstructor constructor)
 
void setConfiguration (Element configuration)
 
KeyValueMap getAttributes ()
 
Long getLongAttribute (String key)
 

Additional Inherited Members

- Protected Attributes inherited from org.turro.elephant.impl.abstracts.AbstractImplementation
IElement iel
 
IConstructor constructor
 
Element configuration
 
Map attributes
 

Detailed Description

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

Definition at line 39 of file MyIssuesNotifier.java.

Member Function Documentation

◆ getDataLabel()

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

Reimplemented from org.turro.scheduler.motor.DefaultTask.

Definition at line 76 of file MyIssuesNotifier.java.

76  {
77  return null;
78  }

◆ getName()

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

Reimplemented from org.turro.scheduler.motor.DefaultTask.

Definition at line 42 of file MyIssuesNotifier.java.

42  {
43  return I_.get("My issues notifier");
44  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

void org.turro.dossier.issue.MyIssuesNotifier.run ( )

Reimplemented from org.turro.scheduler.motor.DefaultTask.

Definition at line 47 of file MyIssuesNotifier.java.

47  {
48  ContactList list = new ContactList();
49  for(String idContact : getParticipants()) {
50  IContact ic = Contacts.getContactById(idContact);
51  if(ic.isValid() && ic.isWebUser()) {
52  list.add(ic);
53  }
54  }
55  for(IContact c : list) {
56  try {
57  new MyIssuesNotification(c).addToQueue(constructor);
58  } catch (EmailException ex) {
59  Logger.getLogger(MyIssuesNotifier.class.getName()).log(Level.SEVERE, ElephantContext.logMsg(null), ex);
60  }
61  }
62  }
Here is the call graph for this function:

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