Hi Guys,
Is it possible to get the current executing instance of the JobExecution from a validator (i.e. Validator extends DefaultJobParametersValidator)? If so, can you guys help me out by citing some examples?
I would like to access the JobExecution from the Context; so that whenever an exception is thrown during the validation process of the JobParameters. (i.e. JobParametersInvalidException), a specific exit code is returned to the scheduler (shell script).
I am currently using a class that implements the ExitCodeMapper to define my own exit codes and status code.
Thanks!
Is it possible to get the current executing instance of the JobExecution from a validator (i.e. Validator extends DefaultJobParametersValidator)? If so, can you guys help me out by citing some examples?
I would like to access the JobExecution from the Context; so that whenever an exception is thrown during the validation process of the JobParameters. (i.e. JobParametersInvalidException), a specific exit code is returned to the scheduler (shell script).
I am currently using a class that implements the ExitCodeMapper to define my own exit codes and status code.
Thanks!
Comment