Interface ExecutionValidator


  • public interface ExecutionValidator
    Service for validating executions.
    • Method Detail

      • canRunMoreExecutions

        boolean canRunMoreExecutions​(JobValidationReference job,
                                     boolean retry,
                                     long prevId)
        Validates if a job can run more executions.
        Parameters:
        job - the job reference
        retry - 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.