Interface WorkReportPredicate
- All Known Implementing Classes:
WorkReportPredicate.TimesPredicate
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A predicate interface on work report.
- Author:
- Mahmoud Ben Hassine (mahmoud.benhassine@icloud.com)
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classA predicate that returns true after a given number of times. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WorkReportPredicatestatic final WorkReportPredicatestatic final WorkReportPredicatestatic final WorkReportPredicate -
Method Summary
Modifier and TypeMethodDescriptionbooleanapply(WorkReport workReport) Apply the predicate on the given work report.
-
Field Details
-
ALWAYS_TRUE
-
ALWAYS_FALSE
-
COMPLETED
-
FAILED
-
-
Method Details
-
apply
Apply the predicate on the given work report.- Parameters:
workReport- on which the predicate should be applied- Returns:
- true if the predicate applies on the given report, false otherwise
-