public class JobHelpers
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
(package private) static class |
JobHelpers.BuildJobMatcher |
static interface |
JobHelpers.IJobMatcher |
(package private) static class |
JobHelpers.LaunchJobMatcher |
| Modifier and Type | Field and Description |
|---|---|
private static int |
POLLING_DELAY |
| Constructor and Description |
|---|
JobHelpers() |
| Modifier and Type | Method and Description |
|---|---|
private static boolean |
flushProcessingQueues(org.eclipse.core.runtime.jobs.IJobManager jobManager,
org.eclipse.core.runtime.IProgressMonitor monitor) |
private static org.eclipse.debug.core.ILaunch |
getActiveLaunch() |
private static org.eclipse.core.runtime.jobs.Job |
getJob(JobHelpers.IJobMatcher matcher) |
private static java.util.List<IBackgroundProcessingQueue> |
getProcessingQueues(org.eclipse.core.runtime.jobs.IJobManager jobManager) |
private static void |
waitForBuildJobs() |
static void |
waitForJobs(JobHelpers.IJobMatcher matcher,
int maxWaitMillis) |
static void |
waitForJobsToComplete() |
static void |
waitForJobsToComplete(org.eclipse.core.runtime.IProgressMonitor monitor) |
static void |
waitForLaunchesToComplete(int maxWaitMillis) |
private static final int POLLING_DELAY
public static void waitForJobsToComplete()
public static void waitForJobsToComplete(org.eclipse.core.runtime.IProgressMonitor monitor)
throws java.lang.InterruptedException,
org.eclipse.core.runtime.CoreException
java.lang.InterruptedExceptionorg.eclipse.core.runtime.CoreExceptionprivate static boolean flushProcessingQueues(org.eclipse.core.runtime.jobs.IJobManager jobManager,
org.eclipse.core.runtime.IProgressMonitor monitor)
throws java.lang.InterruptedException,
org.eclipse.core.runtime.CoreException
java.lang.InterruptedExceptionorg.eclipse.core.runtime.CoreExceptionprivate static java.util.List<IBackgroundProcessingQueue> getProcessingQueues(org.eclipse.core.runtime.jobs.IJobManager jobManager)
private static void waitForBuildJobs()
public static void waitForJobs(JobHelpers.IJobMatcher matcher, int maxWaitMillis)
private static org.eclipse.core.runtime.jobs.Job getJob(JobHelpers.IJobMatcher matcher)
public static void waitForLaunchesToComplete(int maxWaitMillis)
private static org.eclipse.debug.core.ILaunch getActiveLaunch()