public class QueueHotFolderListenerImpl extends Object implements HotFolderListener
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.commons.logging.Log |
log |
| Constructor and Description |
|---|
QueueHotFolderListenerImpl(QueueHotFolderListener qhfl,
JDFJMF _queueCommand) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
extractReturnParams(String stringURL,
JDFCommand newCommand,
JDFNode jdfRoot)
overwrite this method in case you want to customize the hotfolder for returnqueueentryparams and paramtetrizing the ReturnQueueEntryParams template is
insufficient
|
protected void |
extractSubmitParams(String stringURL,
JDFCommand newCommand,
JDFNode jdfRoot)
overwrite this method in case you want to customize the hotfolder for submitqueentry and parametrizing the QueueSubmissionParams template is
insufficient
|
boolean |
hotFile(File hotFile)
this interface function is called whenever a new or modified file has stabilized in the hotFolder
note: make sure to close all streams so that deleting temp files does not fail
|
public QueueHotFolderListenerImpl(QueueHotFolderListener qhfl, JDFJMF _queueCommand)
qhfl - _queueCommand - public boolean hotFile(File hotFile)
HotFolderListenerhotFile in interface HotFolderListenerhotFile - HotFolderListener.hotFile(java.io.File)protected void extractReturnParams(String stringURL, JDFCommand newCommand, JDFNode jdfRoot)
stringURL - the file url of the hotfolder jdf in the local storage directory (NOT the hf)newCommand - the command that was generated from the templatejdfRoot - the root jdf node of the dropped fileprotected void extractSubmitParams(String stringURL, JDFCommand newCommand, JDFNode jdfRoot)
stringURL - the file url of the hotfolder jdf in the local storage directory (NOT the hf)newCommand - the command that was generated from the templatejdfRoot - the root jdfnode of the dropped fileCopyright © 2015. All rights reserved.