@FunctionalInterface public interface WorkReportPredicate
| Modifier and Type | Interface and Description |
|---|---|
static class |
WorkReportPredicate.TimesPredicate
A predicate that returns true after a given number of times.
|
| Modifier and Type | Field and Description |
|---|---|
static WorkReportPredicate |
ALWAYS_FALSE |
static WorkReportPredicate |
ALWAYS_TRUE |
static WorkReportPredicate |
COMPLETED |
static WorkReportPredicate |
FAILED |
| Modifier and Type | Method and Description |
|---|---|
boolean |
apply(WorkReport workReport)
Apply the predicate on the given work report.
|
static final WorkReportPredicate ALWAYS_TRUE
static final WorkReportPredicate ALWAYS_FALSE
static final WorkReportPredicate COMPLETED
static final WorkReportPredicate FAILED
boolean apply(WorkReport workReport)
workReport - on which the predicate should be appliedCopyright © 2020. All rights reserved.