Interface IResourceClusteringPolicy
-
- All Known Implementing Classes:
DisabledClusteringPolicy
,DynamicResourceClusteringPolicy
public interface IResourceClusteringPolicy
This strategy allows to cope with low memory environments where resources have to be unloaded during the build.- Since:
- 2.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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 benull
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.
-
-