Package io.goobi.viewer.model.job.mq
Class DownloadExternalResourceHandler
java.lang.Object
io.goobi.viewer.model.job.mq.DownloadExternalResourceHandler
- All Implemented Interfaces:
MessageHandler<MessageStatus>
public class DownloadExternalResourceHandler
extends Object
implements MessageHandler<MessageStatus>
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncall
(ViewerMessage message, MessageQueueManager queueManager) call this method to execute the ticketstatic ViewerMessage
createMessage
(String pi, String url) getDownloadedFiles
(String pi, String downloadUrl, String downloadId) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface io.goobi.viewer.controller.mq.MessageHandler
call
-
Field Details
-
ALLOWED_FILE_EXTENSIONS
-
-
Constructor Details
-
DownloadExternalResourceHandler
public DownloadExternalResourceHandler()
-
-
Method Details
-
call
Description copied from interface:MessageHandler
call this method to execute the ticket- Specified by:
call
in interfaceMessageHandler<MessageStatus>
- Returns:
- V
-
getDownloadedFiles
public List<Path> getDownloadedFiles(String pi, String downloadUrl, String downloadId) throws PresentationException, IndexUnreachableException -
getMessageHandlerName
- Specified by:
getMessageHandlerName
in interfaceMessageHandler<MessageStatus>
-
createMessage
-