MilestoneCriterion

public class MilestoneCriterion implements Criterion

Criterion used to filter enrollments by the current milestone name.

Constructors

MilestoneCriterion

public MilestoneCriterion(String milestoneName)

Creates a MilestoneCriterion with the milestoneName attribute set to milestoneName.

Parameters:
  • milestoneName – the current milestone name

Methods

fetch

public List<Enrollment> fetch(AllEnrollments allEnrollments)

filter

public List<Enrollment> filter(List<Enrollment> enrollments)