Package com.logicaldoc.web.util
Class LongRunningOperationCompleteListener
java.lang.Object
com.logicaldoc.web.util.LongRunningOperationCompleteListener
- All Implemented Interfaces:
NotifyingThread.ThreadCompleteListener
public class LongRunningOperationCompleteListener
extends Object
implements NotifyingThread.ThreadCompleteListener
A listener of
NotifyingThread
designed to handle the completion of a
long running operation. The purpose is to alert a set of users about the
completion using a system message- Since:
- 8.5.3
- Author:
- Marco Meschieri - LogicalDOC
-
Constructor Summary
ConstructorDescriptionLongRunningOperationCompleteListener
(String username) Creates a new listener with just one user to notifyLongRunningOperationCompleteListener
(Set<String> usernames) Creates a new listener -
Method Summary
-
Constructor Details
-
LongRunningOperationCompleteListener
Creates a new listener with just one user to notify- Parameters:
username
- the user to alert
-
LongRunningOperationCompleteListener
Creates a new listener- Parameters:
usernames
- the usernames to alert
-
-
Method Details
-
completed
- Specified by:
completed
in interfaceNotifyingThread.ThreadCompleteListener
-