question: @ Override public void run ( ) throws IOException { final File dir = mParams . directory ( ) ; if ( ! dir . exists ( ) && ! dir . mkdirs ( ) ) { throw new NoTalkbackSlimException ( ErrorType . DIRECTORY_NOT_CREATED , dir . getPath ( ) ) ; } try { exec ( ) ; mStatistics . printStatistics ( mReportStream ) ; mStatistics . generateReport ( ) ; } finally { mParams . close ( ) ; } }
target:  Execute the current task.  Does not return until the task (including possible subtasks) have completed. This implementation manages creation of the output directory, calling the exec method, creating a done file, and closing the params upon completion.