Interface IResourceClusteringPolicy
-
- All Known Implementing Classes:
DisabledClusteringPolicy,DynamicResourceClusteringPolicy
public interface IResourceClusteringPolicyThis 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 booleancontinueProcessing(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 benullif yet unknown.alreadyProcessed- The number of already processed resources. Note that the resource set may contain more resources.- Returns:
trueif another resource should be processed,falseif a new cluster should be created.
-
-