BrightSide Workbench Full Report + Source Code
org.turro.server.MailServer Class Reference
Inheritance diagram for org.turro.server.MailServer:
Collaboration diagram for org.turro.server.MailServer:

Public Member Functions

void changePassword (String user, String password)
 
void setForwarding (String user, String forwarding)
 
- 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 30 of file MailServer.java.

Member Function Documentation

◆ changePassword()

void org.turro.server.MailServer.changePassword ( String  user,
String  password 
)

Definition at line 32 of file MailServer.java.

32  {
33 
34  String server = (String) getAttributes().get("server");
35 
36  if ("james".equals(server)) {
37  createJamesRemoteManager().execute(new ChangePassword(user, password));
38  }
39  }
Here is the call graph for this function:

◆ setForwarding()

void org.turro.server.MailServer.setForwarding ( String  user,
String  forwarding 
)

Definition at line 41 of file MailServer.java.

41  {
42 
43  String server = (String) getAttributes().get("server");
44 
45  if ("james".equals(server)) {
46  if (forwarding != null && forwarding.contains("@")) {
47  createJamesRemoteManager().execute(new SetForwarding(user, forwarding));
48  } else {
49  createJamesRemoteManager().execute(new UnsetForwarding(user));
50  }
51  }
52  }
Here is the call graph for this function:

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