public interface JobValidatorService
Modifier and Type | Method and Description |
---|---|
void |
validateJob(InputStream jobInputStream)
Validate the provided xml job file, before the job is parsed by the scheduler
If this validator does not validate against the xml file, leave the implementation
empty.
|
TaskFlowJob |
validateJob(TaskFlowJob job)
Validate a job object after the job has been parsed by the scheduler.
|
void validateJob(InputStream jobInputStream) throws JobValidationException
jobInputStream
- job file content to validateJobValidationException
- if the job is not validTaskFlowJob validateJob(TaskFlowJob job) throws JobValidationException
job
- job object to validateJobValidationException
- if the job is not valid