org.eclipse.xtext.builder.impl
Class BuildScheduler

java.lang.Object
  extended by org.eclipse.xtext.builder.impl.BuildScheduler

public class BuildScheduler
extends java.lang.Object

Schedules extraordinary Xtext builds, e.g. on project open/close. Keeps a set of scheduled jobs to avoid duplicate builds.

Author:
Jan Koehnlein - Initial contribution and API

Nested Class Summary
protected  class BuildScheduler.BuildJob
           
 
Constructor Summary
BuildScheduler()
           
 
Method Summary
protected  boolean isBuildable(org.eclipse.core.resources.IProject project)
           
 void scheduleBuildIfNecessary(java.lang.Iterable<org.eclipse.core.resources.IProject> toUpdate, IBuildFlag... buildFlags)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BuildScheduler

public BuildScheduler()
Method Detail

scheduleBuildIfNecessary

public void scheduleBuildIfNecessary(java.lang.Iterable<org.eclipse.core.resources.IProject> toUpdate,
                                     IBuildFlag... buildFlags)

isBuildable

protected boolean isBuildable(org.eclipse.core.resources.IProject project)