BrightSide Workbench Full Report + Source Code
org.turro.mail.provider.MailProviders Class Reference

Public Member Functions

MailMessagePool getGeneric ()
 
MailMessagePool getGeneric (IConstructor constructor)
 
MailMessagePool getPool (IConstructor constructor, String name)
 
MailProvider getProvider (String name)
 

Static Public Member Functions

static MailProviders instance ()
 

Static Public Attributes

static final String GENERIC = "Generic"
 

Detailed Description

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

Definition at line 33 of file MailProviders.java.

Member Function Documentation

◆ getGeneric() [1/2]

MailMessagePool org.turro.mail.provider.MailProviders.getGeneric ( )

Definition at line 37 of file MailProviders.java.

37  {
38  return getPool(Application.getApplication().getConstructor(), GENERIC);
39  }
MailMessagePool getPool(IConstructor constructor, String name)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getGeneric() [2/2]

MailMessagePool org.turro.mail.provider.MailProviders.getGeneric ( IConstructor  constructor)

Definition at line 41 of file MailProviders.java.

41  {
42  return getPool(constructor, GENERIC);
43  }
Here is the call graph for this function:

◆ getPool()

MailMessagePool org.turro.mail.provider.MailProviders.getPool ( IConstructor  constructor,
String  name 
)

Definition at line 45 of file MailProviders.java.

45  {
46  if(providers != null) {
47  MailProvider provider = providers.get(name);
48  if(provider != null) {
49  return MailMessagePool.of(constructor, provider);
50  }
51  }
52  return null;
53  }
Here is the caller graph for this function:

◆ getProvider()

MailProvider org.turro.mail.provider.MailProviders.getProvider ( String  name)

Definition at line 55 of file MailProviders.java.

55  {
56  if(providers != null) {
57  return providers.get(name);
58  }
59  return null;
60  }
Here is the caller graph for this function:

◆ instance()

static MailProviders org.turro.mail.provider.MailProviders.instance ( )
static

Definition at line 64 of file MailProviders.java.

64  {
65  return new MailProviders();
66  }
Here is the caller graph for this function:

Member Data Documentation

◆ GENERIC

final String org.turro.mail.provider.MailProviders.GENERIC = "Generic"
static

Definition at line 35 of file MailProviders.java.


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