RepeatingPeriodJobId

public class RepeatingPeriodJobId extends JobId

Jobs ID for RepeatingPeriodSchedulableJobs.

Fields

SUFFIX_REPEATPERIODJOBID

public static final String SUFFIX_REPEATPERIODJOBID

Constructors

RepeatingPeriodJobId

public RepeatingPeriodJobId(String subject, String id)

Constructor.

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

RepeatingPeriodJobId

public RepeatingPeriodJobId(MotechEvent repeatingEvent)

Constructor.

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