org.eclipse.emf.emfstore.modelmutator
Class ESRoundRobinResourceSelectionStrategy
java.lang.Object
org.eclipse.emf.emfstore.modelmutator.ESRoundRobinResourceSelectionStrategy
- All Implemented Interfaces:
- ESResourceSelectionStrategy
public class ESRoundRobinResourceSelectionStrategy
- extends Object
- implements ESResourceSelectionStrategy
A ESResourceSelectionStrategy
that selects each resource from the list of resources in a round-robin fashion.
- Since:
- 2.0
- Author:
- emueller
Method Summary |
org.eclipse.emf.ecore.resource.Resource |
selectResource(List<org.eclipse.emf.ecore.resource.Resource> resources)
Selects a Resource from a list of given resources. |
ESRoundRobinResourceSelectionStrategy
public ESRoundRobinResourceSelectionStrategy()
selectResource
public org.eclipse.emf.ecore.resource.Resource selectResource(List<org.eclipse.emf.ecore.resource.Resource> resources)
- Selects a
Resource
from a list of given resources.
- Specified by:
selectResource
in interface ESResourceSelectionStrategy
- Parameters:
resources
- the resources to select a resource from
- Returns:
- the selected resource
- See Also:
ESResourceSelectionStrategy.selectResource(java.util.List)
Copyright © 2015. All Rights Reserved.