BrightSide Workbench Full Report + Source Code
org.turro.mail.queue.QueueSenderTask Class Reference
Inheritance diagram for org.turro.mail.queue.QueueSenderTask:
Collaboration diagram for org.turro.mail.queue.QueueSenderTask:

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 31 of file QueueSenderTask.java.

Member Function Documentation

◆ execute()

void org.turro.mail.queue.QueueSenderTask.execute ( )

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

Definition at line 36 of file QueueSenderTask.java.

36  {
37  parseData();
38  QueueManager.send(getConstructor(), period);
39 
40  // Sendables when minutes
41  if(!(getSettings().getConstraints().getMinutes().isEmpty())) {
42  Sendables.send(getConstructor());
43  }
44  }
Here is the call graph for this function:

◆ getDataLabel()

String org.turro.mail.queue.QueueSenderTask.getDataLabel ( )

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

Definition at line 57 of file QueueSenderTask.java.

57  {
58  return I_.get("Queue period");
59  }
Here is the call graph for this function:

◆ getName()

String org.turro.mail.queue.QueueSenderTask.getName ( )

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

Definition at line 52 of file QueueSenderTask.java.

52  {
53  return I_.get("Queue sender");
54  }
Here is the call graph for this function:

◆ isSystem()

boolean org.turro.mail.queue.QueueSenderTask.isSystem ( )

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

Definition at line 47 of file QueueSenderTask.java.

47  {
48  return true;
49  }

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