org.eclipse.xtext.builder.clustering
Interface IResourceClusteringPolicy

All Known Implementing Classes:
DynamicResourceClusteringPolicy

public interface IResourceClusteringPolicy

Author:
Knut Wannheden - Initial contribution and API

Method Summary
 boolean continueProcessing(org.eclipse.emf.ecore.resource.ResourceSet resourceSet, org.eclipse.emf.common.util.URI next, int alreadyProcessed)
          Determine whether another resource should be loaded into the resource set and be processed.
 

Method Detail

continueProcessing

boolean continueProcessing(org.eclipse.emf.ecore.resource.ResourceSet resourceSet,
                           org.eclipse.emf.common.util.URI next,
                           int alreadyProcessed)
Determine whether another resource should be loaded into the resource set and be processed.

Parameters:
resourceSet - The resource set, containing all currently loaded resources.
next - The next URI to be processed. Can be null if yet unknown.
alreadyProcessed - The number of already processed resources. Note that the resource set may contain more resources.
Returns:
true if another resource should be processed, false if a new cluster should be created.