public Indexable taskResult ( String taskId ) { TaskGroupEntry < TaskItem > taskGroupEntry = super . getNode ( taskId ) ; if ( taskGroupEntry != null ) { return taskGroupEntry . taskResult ( ) ; } if ( ! this . proxyTaskGroupWrapper . isActive ( ) ) { throw new IllegalArgumentException ( "A dependency task with id '" + taskId + "' is not found" ) ; } taskGroupEntry = this . proxyTaskGroupWrapper . proxyTaskGroup . getNode ( taskId ) ; if ( taskGroupEntry != null ) { return taskGroupEntry . taskResult ( ) ; } throw new IllegalArgumentException ( "A dependency task or 'post-run' dependent task with with id '" + taskId + "' not found" ) ; }
Retrieve the result produced by a task with the given id in the group .