Users of JobOperator get back JobExecution objects and can get the Batch Status and compare to a list of values that mean 'ended'. Or you can check the EndedTime and if that is set then it ended. An isEnded method might be handy. Similarly for StepExecution.
Users of JobOperator get back JobExecution objects and can get the Batch Status and compare to a list of values that mean 'ended'. Or you can check the EndedTime and if that is set then it ended. An isEnded method might be handy. Similarly for StepExecution.