/** * Cleanup the target environment. * @param monitor the progress monitor of the operation * @param context the current execution context * @throws InterruptedException if this operation is interrupted * @throws IOException if failed to setup the target environment */ public void cleanUp( ExecutionMonitor monitor, ExecutionContext context) throws InterruptedException, IOException { monitor.open(1); try { voidCleanUp(context); } finally { monitor.close(); } }