BrightSide Workbench Full Report + Source Code
org.turro.dossier.issue.IssueNotification Class Reference

Public Member Functions

 IssueNotification (String comment, Issue issue)
 
void sendMail (IConstructor constructor)
 
void poolMail (IConstructor constructor, MessagePool pool)
 

Detailed Description

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

Definition at line 46 of file IssueNotification.java.

Constructor & Destructor Documentation

◆ IssueNotification()

org.turro.dossier.issue.IssueNotification.IssueNotification ( String  comment,
Issue  issue 
)

Definition at line 51 of file IssueNotification.java.

51  {
52  this.comment = comment != null ? comment.trim() : null;
53  this.issue = issue;
54  }

Member Function Documentation

◆ poolMail()

void org.turro.dossier.issue.IssueNotification.poolMail ( IConstructor  constructor,
MessagePool  pool 
)

Definition at line 73 of file IssueNotification.java.

73  {
74  MailContact.poolToIPlayers(
75  getPlayers(constructor),
76  getLinkString(),
77  getMessage(constructor),
78  "",
79  new ILinkSolver() {
80  @Override
81  public String getLink(IContact contact) {
82  return DossierEntityInfo.linkForPath(
83  new Path("/issue/" + issue.getId()), contact, LinkType.WEB_INTERNAL);
84  }
85  },
86  pool);
87  }
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sendMail()

void org.turro.dossier.issue.IssueNotification.sendMail ( IConstructor  constructor)

Definition at line 56 of file IssueNotification.java.

56  {
57  MailContact.sendToIPlayers(
58  getPlayers(constructor),
59  getLinkString(),
60  getSubject(constructor),
61  getMessage(constructor),
62  "",
63  new ILinkSolver() {
64  @Override
65  public String getLink(IContact contact) {
66  return DossierEntityInfo.linkForPath(
67  new Path("/issue/" + issue.getId()), contact, LinkType.WEB_INTERNAL);
68  }
69  },
70  "IMailPool_Dossier");
71  }
Here is the call graph for this function:

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