InWindowCriterion

public class InWindowCriterion implements Criterion

Criterion used to filter enrollments by window names. If the current milestone is in one of the given windows then this criterion is met.

Constructors

InWindowCriterion

public InWindowCriterion(List<WindowName> windowNames)

Creates a InWindowCriterion with the windowNames attribute set to windowNames.

Parameters:
  • windowNames – the window names of the current milestone

Methods

fetch

public List<Enrollment> fetch(AllEnrollments allEnrollments)

filter

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