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 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