Example usage for org.eclipse.jdt.core IJavaProject getSchedulingRule

List of usage examples for org.eclipse.jdt.core IJavaProject getSchedulingRule

Introduction

In this page you can find the example usage for org.eclipse.jdt.core IJavaProject getSchedulingRule.

Prototype

ISchedulingRule getSchedulingRule();

Source Link

Document

Returns the scheduling rule associated with this Java element.

Usage

From source file:com.google.cloud.tools.eclipse.appengine.libraries.LibraryClasspathContainerResolverJob.java

License:Apache License

@Inject
public LibraryClasspathContainerResolverJob(IJavaProject javaProject) {
    super(Messages.getString("AppEngineLibraryContainerResolverJobName"));
    Preconditions.checkNotNull(javaProject, "javaProject is null");
    this.javaProject = javaProject;
    setUser(true);/* w  w w  .  ja va 2  s  .  c om*/
    setRule(javaProject.getSchedulingRule());
}