This library constitutes the Norconex Java Execution Framework.

Simple steps to get started:

The creation of a job suite may look like this:

    public class MyJobSuiteFactory implements IJobSuiteFactory {
    
        public JobSuite createJobSuite() {
            IJob rootJob = new AsyncJobGroup("asyncGroupSample", new IJob[] {
                    new MyJobA(),
                    new SyncJobGroup("syncGroupSample", new IJob[] {
                            new MyJobB(),
                            new MyJobC()
                    }),    
                    new MyJobD(),
                    new MyJobE()),
            });
            JobSuite suite = new JobSuite(rootJob);
            
            // add any listners/handlers to the suite

            return suite;
        }
    }

In the end, launching a job suite may look like this:

    IJobSuiteFactory factory = new MyJobSuiteFactory();
    JobSuite suite = factory.createJobSuite();
    JobRunner jobRunner = new JobRunner();
    jobRunner.runSuite(suite);