Package com.logicaldoc.notifier
Class Notifier
java.lang.Object
com.logicaldoc.core.task.Task
com.logicaldoc.notifier.Notifier
- All Implemented Interfaces:
- Runnable
public class Notifier
extends com.logicaldoc.core.task.Task
The component send messages to the recipient users.
- Since:
- 5.0
- Author:
- Matteo Caruso - LogicalDOC
- 
Field SummaryFieldsFields inherited from class com.logicaldoc.core.task.TaskSTATUS_IDLE, STATUS_RUNNING, STATUS_STOPPING
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanbooleanvoidLaunches the sending of all messages.Methods inherited from class com.logicaldoc.core.task.TaskaddTaskListener, getCompletionPercentage, getConfig, getName, getProgress, getReportRecipients, getScheduling, getSize, getStatus, interrupt, isInterrupted, isInterruptRequested, isRunning, isSendActivityReport, notifyReport, removeTaskListener, run, save, saveWork, setReportRecipients, setSendActivityReport, setSize
- 
Field Details- 
NAME- See Also:
 
 
- 
- 
Constructor Details- 
Notifierpublic Notifier()
 
- 
- 
Method Details- 
isIndeterminatepublic boolean isIndeterminate()- Specified by:
- isIndeterminatein class- com.logicaldoc.core.task.Task
 
- 
isConcurrentpublic boolean isConcurrent()- Specified by:
- isConcurrentin class- com.logicaldoc.core.task.Task
 
- 
sendMessagespublic void sendMessages() throws com.logicaldoc.core.PersistenceExceptionLaunches the sending of all messages.- Throws:
- com.logicaldoc.core.PersistenceException- Error in the database
 
 
-