public static void closeChainedTasks ( List < ChainedDriver < ? , ? > > tasks , AbstractInvokable parent ) throws Exception { for ( int i = 0 ; i < tasks . size ( ) ; i ++ ) { final ChainedDriver < ? , ? > task = tasks . get ( i ) ; task . closeTask ( ) ; if ( LOG . isDebugEnabled ( ) ) { LOG . debug ( constructLogString ( "Finished task code" , task . getTaskName ( ) , parent ) ) ; } } }
Closes all chained tasks in the order as they are stored in the array . The closing process creates a standardized log info message .