RepeatingJobId

public class RepeatingJobId extends JobId

Jobs ID for RepeatingSchedulableJobs.

Fields

SUFFIX_REPEATJOBID

public static final String SUFFIX_REPEATJOBID

Constructors

RepeatingJobId

public RepeatingJobId(String subject, String id)

Constructor.

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

RepeatingJobId

public RepeatingJobId(MotechEvent repeatingEvent)

Constructor.

Parameters:
  • repeatingEvent – the MotechEvent fired, when job is triggered