MULE-6872: Making the scheduler interfaces typed so that they can accomodate more types of jobs