Package org.opencastproject.job.api
Class JobBarrier.Result
java.lang.Object
org.opencastproject.job.api.JobBarrier.Result
- Enclosing class:
JobBarrier
Result of a waiting operation on a certain number of jobs.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the status details.booleanReturnstrueif all jobs are in thestate.Job.Status.FINISHED
-
Constructor Details
-
Result
Creates a new job barrier result.- Parameters:
status- the barrier outcome
-
-
Method Details
-
getStatus
Returns the status details.- Returns:
- the status details
-
isSuccess
public boolean isSuccess()Returnstrueif all jobs are in thestate.Job.Status.FINISHED- Returns:
trueif all jobs are finished
-