CronJobId

public class CronJobId extends JobId

Represents ID for CronSchedulableJobs.

Constructors

CronJobId

public CronJobId(String subject, String id)

Constructor.

Parameters:
  • subject – the subject of MotechEvent fired, when job is triggered, not null
  • id – the “JobID” parameter for MotechEvent fired, when job is triggered, not null

CronJobId

public CronJobId(MotechEvent event)

Constructor.

Parameters:
  • event – the MotechEvent fired, when job is triggered, not null