protected FluentModelTImpl prepareForFutureCommitOrPostRun ( FluentModelTImpl childResource ) { if ( this . isPostRunMode ) { if ( ! childResource . taskGroup ( ) . dependsOn ( this . parentTaskGroup ) ) { this . parentTaskGroup . addPostRunDependentTaskGroup ( childResource . taskGroup ( ) ) ; } return childResource ; } else { return childResource ; } }
Mark the given child resource as the post run dependent of the parent of this collection .