Class DynamicSequentialBlackboardInteractingJob<BlackboardType extends Blackboard<?>>

  • Type Parameters:
    BlackboardType - The type of the blackboard needed by all jobs in the sequential workflow
    All Implemented Interfaces:
    IBlackboardInteractingJob<BlackboardType>, ICompositeJob, IJob, Iterable<IJob>, Collection<IJob>, List<IJob>

    public class DynamicSequentialBlackboardInteractingJob<BlackboardType extends Blackboard<?>>
    extends DynamicSequentialJob
    implements IBlackboardInteractingJob<BlackboardType>
    A sequential workflow which may contain jobs which need access to a common blackboard for information exchange. By default, the cleanup method of all jobs is called right after their execution before starting the next job. In addition, the job is removed from the job list to ensure, objects are freed for the garbage collection. This job implementation allows to extend the job queue dynamically during execution.
    • Constructor Detail

      • DynamicSequentialBlackboardInteractingJob

        public DynamicSequentialBlackboardInteractingJob()
        Instantiates a new order preserving blackboard composite job.
      • DynamicSequentialBlackboardInteractingJob

        public DynamicSequentialBlackboardInteractingJob​(String name)
        Instantiates a new sequential blackboard job with a specific name.
        Parameters:
        name - The name of the job.
      • DynamicSequentialBlackboardInteractingJob

        public DynamicSequentialBlackboardInteractingJob​(boolean cleanUpImmediately)
        Instantiates a new order preserving blackboard composite job.
        Parameters:
        cleanUpImmediately - Flag if jobs should be cleaned up immediately or not.
      • DynamicSequentialBlackboardInteractingJob

        public DynamicSequentialBlackboardInteractingJob​(String name,
                                                         boolean cleanUpImmediately)
        Instantiates a new sequential blackboard job with a specific name and specifying the clean up strategy.
        Parameters:
        name - The name of the job sequence.
        cleanUpImmediately - Flag if jobs should be cleaned up immediately or not.