Bug 157604 [Jobs] The following rule does not apply: Don't swallow InterruptedException. Call Thread.currentThread().interrupt()
examples/org.eclipse.ui.examples.job/src/org/eclipse/ui/examples/jobs/views/JobsView.java
final long rescheduleWait =  Long.parseLong(rescheduleDelay.getText());
		boolean keep = keepField.getSelection();
		boolean keepOne = keepOneField.getSelection();
		boolean gotoAction = gotoActionField.getSelection();
		int groupIncrement = IProgressMonitor.UNKNOWN;
		IProgressMonitor group = new NullProgressMonitor();
		int total = IProgressMonitor.UNKNOWN;
		if (jobCount > 1) {
			total = 100;
			groupIncrement = 100 / jobCount;
		}
		if (useGroup) {
			group = Platform.getJobManager().createProgressGroup();
			group.beginTask("Group", total); 
		}
		long delay = Integer.parseInt(delayField.getText());
		for (int i = 0; i < jobCount; i++) {
			Job result;
			if (ui)
				result = new UITestJob(duration, lock, failure, unknown);
			else
				result = new TestJob(duration, lock, failure, unknown, reschedule, rescheduleWait);
			result.setProperty(IProgressConstants.KEEP_PROPERTY, Boolean.valueOf(keep));
			result.setProperty(IProgressConstants.KEEPONE_PROPERTY, Boolean.valueOf(keepOne));
			
			if(gotoAction)
				result.setProperty(IProgressConstants.ACTION_PROPERTY, new Action("Pop up a dialog") { 
					public void run() {
						MessageDialog.openInformation(getSite().getShell(), "Goto Action", "The job can have an action associated with it"); 
					}