public class ESCrossResourceReferencesModelMutator extends ESAbstractModelMutator
ResourceSet, places the root object into the first
resource and then distributes all children across the different resources.| Constructor and Description |
|---|
ESCrossResourceReferencesModelMutator()
Default constructor.
|
ESCrossResourceReferencesModelMutator(ESModelMutatorConfiguration config)
Constructor.
|
ESCrossResourceReferencesModelMutator(ESModelMutatorConfiguration config,
int howManyResources)
Constructor.
|
ESCrossResourceReferencesModelMutator(ESModelMutatorConfiguration config,
int howManyResources,
ESResourceSelectionStrategy resourceSelectionStrategy)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.ecore.resource.ResourceSet |
getResourceSet()
Returns the
ResourceSet the mutator is acting upon. |
void |
postMutate()
Called after generation and mutation.
|
void |
preMutate()
Called before generation and mutation.
|
changeCrossReferences, changeCrossReferences, createChildren, createChildren, createChildrenForRoot, deleteEObjects, generate, getConfig, mutate, mutateAttributes, mutateUntil, setConfigpublic ESCrossResourceReferencesModelMutator()
public ESCrossResourceReferencesModelMutator(ESModelMutatorConfiguration config)
Uses the ESRoundRobinResourceSelectionStrategy to select resources.
config - The ESModelMutatorConfiguration used during mutationpublic ESCrossResourceReferencesModelMutator(ESModelMutatorConfiguration config, int howManyResources)
Uses the ESRoundRobinResourceSelectionStrategy to select resources.
config - The ESModelMutatorConfiguration used during mutationhowManyResources - specifies how many resources should be createdpublic ESCrossResourceReferencesModelMutator(ESModelMutatorConfiguration config, int howManyResources, ESResourceSelectionStrategy resourceSelectionStrategy)
config - The ESModelMutatorConfiguration used during mutationhowManyResources - specifies how many resources should be createdresourceSelectionStrategy - specifies how to select the resource in orderpublic void preMutate()
preMutate in class ESAbstractModelMutatorESAbstractModelMutator.preMutate()public void postMutate()
postMutate in class ESAbstractModelMutatorESAbstractModelMutator.postMutate()public org.eclipse.emf.ecore.resource.ResourceSet getResourceSet()
ResourceSet the mutator is acting upon.ResourceSet of this mutatorCopyright © 2017. All rights reserved.