Class LongRunningOperationCompleteListener<T>

java.lang.Object
com.logicaldoc.web.util.LongRunningOperationCompleteListener<T>
Type Parameters:
T - type of listener
All Implemented Interfaces:
NotifyingThread.ThreadCompleteListener<T>

public class LongRunningOperationCompleteListener<T> extends Object implements NotifyingThread.ThreadCompleteListener<T>
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 Details

    • LongRunningOperationCompleteListener

      public LongRunningOperationCompleteListener(String username)
      Creates a new listener with just one user to notify
      Parameters:
      username - the user to alert
    • LongRunningOperationCompleteListener

      public LongRunningOperationCompleteListener(Set<String> usernames)
      Creates a new listener
      Parameters:
      usernames - the usernames to alert
  • Method Details