public class QueueHotFolder extends StorageHotFolder
Constructor and Description |
---|
QueueHotFolder(File _hotFolderDir,
File _storageDir,
String ext,
QueueHotFolderListenerImpl hfListenerImpl)
new constructo that allows you to override QueueHotFolderListenerImpl
|
QueueHotFolder(File _hotFolderDir,
File _storageDir,
String ext,
QueueHotFolderListener hfListener,
JDFJMF _queueCommand)
constructor for a simple queue based hotfolder watcher that is automagically started in its own thread
|
Modifier and Type | Method and Description |
---|---|
QueueHotFolderListener |
getQueueListener() |
String |
toString() |
addListener, copyCompleted, getHfDirectory, getMaxConcurrent, getRetry, getStabilizeTime, restart, setErrorStorage, setMaxConcurrent, setMaxStore, setOKStorage, setRetry, setStabilizeTime, stop
public QueueHotFolder(File _hotFolderDir, File _storageDir, String ext, QueueHotFolderListener hfListener, JDFJMF _queueCommand)
_hotFolderDir
- the hot folder directory to watch_storageDir
- the storage directory where hot files are moved toext
- the file extensions that are moved - if null no filteringhfListener
- callback that receives the generated JMF - the location of the stored file will be found in the standard command parameters_queueCommand
- the jmf template that will be used to generate a new message, null creates an empty SubmitQueueEntry templatepublic QueueHotFolder(File _hotFolderDir, File _storageDir, String ext, QueueHotFolderListenerImpl hfListenerImpl)
_hotFolderDir
- the hot folder directory to watch_storageDir
- the storage directory where hot files are moved toext
- the file extensions that are moved - if null no filteringhfListenerImpl
- public String toString()
toString
in class StorageHotFolder
Object.toString()
public QueueHotFolderListener getQueueListener()
Copyright © 2018. All rights reserved.