private boolean jobHasFailedOrCanceledStatus() {

		final Iterator<ExecutionVertex> it = new ExecutionGraphIterator(this, true);

		while (it.hasNext()) {

			final ExecutionState state = it.next().getExecutionState();

			if (state != ExecutionState.CANCELED && state != ExecutionState.FAILED && state != ExecutionState.FINISHED) {
				return false;
			}
		}

		return true;
	}
private boolean jobHasFailedOrCanceledStatus ( ) { final Iterator < ExecutionVertex > it = new ExecutionGraphIterator ( this , true ) ; while ( it . hasNext ( ) ) { final ExecutionState state = it . next ( ) . getExecutionState ( ) ; if ( state != ExecutionState . CANCELED && state != ExecutionState . FAILED && state != ExecutionState . FINISHED ) { return false ; } } return true ; }
Checks whether the job represented by the execution graph has the status <code>CANCELED</code> or
<code>FAILED</code>.

@return <code>true</code> if the job has the status <code>CANCELED</code> or <code>FAILED</code>,
<code>false</code> otherwise