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 ofNotifyingThread
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
Constructors Constructor Description LongRunningOperationCompleteListener(String username)
Creates a new listener with just one user to notifyLongRunningOperationCompleteListener(Set<String> usernames)
Creates a new listener
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
completed(NotifyingThread thread)
-
-
-
Constructor Detail
-
LongRunningOperationCompleteListener
public LongRunningOperationCompleteListener(String username)
Creates a new listener with just one user to notify- Parameters:
username
- the user to alert
-
-
Method Detail
-
completed
public void completed(NotifyingThread thread)
- Specified by:
completed
in interfaceNotifyingThread.ThreadCompleteListener
-
-