|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.emf.emfstore.modelmutator.ESAbstractModelMutator
org.eclipse.emf.emfstore.modelmutator.ESCrossResourceReferencesModelMutator
public class ESCrossResourceReferencesModelMutator
Model mutator that creates a ResourceSet, places the root object into the first
resource and then distributes all children across the different resources.
| Constructor Summary | |
|---|---|
ESCrossResourceReferencesModelMutator()
Default constructor. |
|
ESCrossResourceReferencesModelMutator(ESModelMutatorConfiguration config)
Constructor. |
|
ESCrossResourceReferencesModelMutator(ESModelMutatorConfiguration config,
int howManyResources)
Constructor. |
|
ESCrossResourceReferencesModelMutator(ESModelMutatorConfiguration config,
int howManyResources,
ESResourceSelectionStrategy resourceSelectionStrategy)
Constructor. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.eclipse.emf.emfstore.modelmutator.ESAbstractModelMutator |
|---|
changeCrossReferences, changeCrossReferences, createChildren, createChildren, createChildrenForRoot, deleteEObjects, generate, getConfig, mutate, mutateAttributes, mutateUntil, setConfig |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ESCrossResourceReferencesModelMutator()
public ESCrossResourceReferencesModelMutator(ESModelMutatorConfiguration config)
Uses the ESRoundRobinResourceSelectionStrategy to select resources.
config - The ESModelMutatorConfiguration used during mutation
public ESCrossResourceReferencesModelMutator(ESModelMutatorConfiguration config,
int howManyResources)
Uses the ESRoundRobinResourceSelectionStrategy to select resources.
config - The ESModelMutatorConfiguration used during mutationhowManyResources - specifies how many resources should be created
public 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 order| Method Detail |
|---|
public 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 mutator
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||