EndOfMilestoneListener

public class EndOfMilestoneListener

Component which listens for the milestone defaulted event.

Methods

handle

public void handle(MotechEvent motechEvent)

Handles the milestone defaulted event and updates enrollments status in database.

Parameters:
  • motechEvent – the milestone defaulted event

setEnrollmentDataService

public void setEnrollmentDataService(EnrollmentDataService enrollmentDataService)