Interface ExecutionValidator
-
public interface ExecutionValidator
Service for validating executions.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canRunMoreExecutions(JobValidationReference job, boolean retry, long prevId)
Validates if a job can run more executions.
-
-
-
Method Detail
-
canRunMoreExecutions
boolean canRunMoreExecutions(JobValidationReference job, boolean retry, long prevId)
Validates if a job can run more executions.- Parameters:
job
- the job referenceretry
- if the validation should consider retry.prevId
- The previous id un case of retry.- Returns:
- true if the job has multiple executions enabled and the executions limit has not been reached. false otherwise.
-
-