Package com.evolveum.midpoint.task.api
Interface CanRunSupplier
- All Known Subinterfaces:
RunningLightweightTask
,RunningTask
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canRun()
Returns true if the task or any similar process can run, i.e.
-
Method Details
-
canRun
boolean canRun()Returns true if the task or any similar process can run, i.e. was not interrupted. Will return false e.g. if shutdown was signaled.
-