/** * Getter for the failed state. Note that EnhancementJobs might be already * failed but not yet finished. * @return if the EnhancementJob has failed or not. */ public boolean isFailed() { log.trace("++ r: {}","isFailed"); readLock.lock(); try { log.trace(">> r: {}","isFailed"); return isExecutionFailed(executionMetadata, chainExecutionNode); } finally { log.trace("<< r: {}","isFailed"); readLock.unlock(); } } // NOTE: use default implementations of hashCode and equals for now as we need
if(!optional && !isExecutionFailed(executionMetadata, chainExecutionNode)){