public static class WorkReportPredicate.TimesPredicate extends Object implements WorkReportPredicate
WorkReportPredicate.TimesPredicateALWAYS_FALSE, ALWAYS_TRUE, COMPLETED, FAILED| Constructor and Description |
|---|
TimesPredicate(int times) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(WorkReport workReport)
Apply the predicate on the given work report.
|
static WorkReportPredicate.TimesPredicate |
times(int times) |
public boolean apply(WorkReport workReport)
WorkReportPredicateapply in interface WorkReportPredicateworkReport - on which the predicate should be appliedpublic static WorkReportPredicate.TimesPredicate times(int times)
Copyright © 2020. All rights reserved.