private void repair ( ) throws IOException { File folder = this . configuration . getStorage ( ) ; if ( folder . exists ( ) ) { if ( ! folder . isDirectory ( ) ) { throw new IOException ( "Not a directory: " + folder ) ; } repairFolder ( folder ) ; } }
Load jobs from directory .