Class DocumentImportScheduler

  • All Implemented Interfaces:
    org.imixs.workflow.engine.scheduler.Scheduler

    public class DocumentImportScheduler
    extends Object
    implements org.imixs.workflow.engine.scheduler.Scheduler
    The DocumentImportScheduler iterates over all source definition and sends a DocumentImportEvent to process the source by an external service implementation.
    Author:
    rsoika
    See Also:
    SchedulerService
    • Constructor Detail

      • DocumentImportScheduler

        public DocumentImportScheduler()
    • Method Detail

      • run

        public org.imixs.workflow.ItemCollection run​(org.imixs.workflow.ItemCollection configuration)
                                              throws org.imixs.workflow.engine.scheduler.SchedulerException
        This method iterates over all source definitions defined by the scheduler configuration. For each source a DocumentImportEvent is send. An observer can process the source. If a event returns PROCESSING_RESULT_COMPLETED = 1 than no more events will be fired for this source.
        Specified by:
        run in interface org.imixs.workflow.engine.scheduler.Scheduler
        Parameters:
        timer -
        Throws:
        org.imixs.workflow.engine.scheduler.SchedulerException
        org.imixs.workflow.exceptions.QueryException