it.eng.spagobi.tools.scheduler.dispatcher
Class FileSystemDocumentDispatcher
java.lang.Object
it.eng.spagobi.tools.scheduler.dispatcher.FileSystemDocumentDispatcher
- All Implemented Interfaces:
- IDocumentDispatchChannel
public class FileSystemDocumentDispatcher
- extends java.lang.Object
- implements IDocumentDispatchChannel
- Author:
- Andrea Gioia (andrea.gioia@eng.it)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FileSystemDocumentDispatcher
public FileSystemDocumentDispatcher(DispatchContext dispatchContext)
canDispatch
public boolean canDispatch(BIObject document)
- Specified by:
canDispatch
in interface IDocumentDispatchChannel
dispatch
public boolean dispatch(BIObject document,
byte[] executionOutput)
- Specified by:
dispatch
in interface IDocumentDispatchChannel
close
public void close()
- Specified by:
close
in interface IDocumentDispatchChannel
createErrorFile
public java.io.File createErrorFile(BIObject biObj,
java.lang.Throwable error,
java.util.Map randomNamesToName)
setDispatchContext
public void setDispatchContext(DispatchContext dispatchContext)
- Specified by:
setDispatchContext
in interface IDocumentDispatchChannel