StatusCriterion¶
-
public class
StatusCriterion
implements Criterion¶ Criterion used to filter enrollments by the status.
Constructors¶
StatusCriterion¶
-
public
StatusCriterion
(EnrollmentStatus status)¶ Creates a StatusCriterion with the status attribute set to
status
.Parameters: - status – the status of the enrollment
Methods¶
fetch¶
-
public List<Enrollment>
fetch
(AllEnrollments allEnrollments)¶
filter¶
-
public List<Enrollment>
filter
(List<Enrollment> enrollments)¶