|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.emfstore.modelmutator.ESAbstractModelMutator org.eclipse.emf.emfstore.fuzzy.emf.junit.ESDefaultModelMutator
public class ESDefaultModelMutator
Implementation of AbstractModelMutator with empty preMutate and postMutate methods.
Constructor Summary | |
---|---|
ESDefaultModelMutator(ESModelMutatorConfiguration config)
The constructor. |
Method Summary | |
---|---|
static void |
changeModel(ESModelMutatorConfiguration config)
Modifies a model as specified in the config. |
static void |
changeModel(ESModelMutatorConfiguration config,
Set<org.eclipse.emf.ecore.EStructuralFeature> ignoredFeatures)
Modifies a model as specified in the config. |
static void |
generateModel(ESModelMutatorConfiguration config)
Generates a model as specified in the config. |
void |
mutate(Set<org.eclipse.emf.ecore.EStructuralFeature> ignoredFeatures)
Mutation after an initial generation. |
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, mutateAttributes, mutateUntil, setConfig |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ESDefaultModelMutator(ESModelMutatorConfiguration config)
config
- the configuration used in the processMethod Detail |
---|
public static void generateModel(ESModelMutatorConfiguration config)
config
- the configurationpublic static void changeModel(ESModelMutatorConfiguration config)
config
- the configurationpublic static void changeModel(ESModelMutatorConfiguration config, Set<org.eclipse.emf.ecore.EStructuralFeature> ignoredFeatures)
config
- the configurationignoredFeatures
- the features that are to be ignored while changing the modelpublic void preMutate()
ESAbstractModelMutator
preMutate
in class ESAbstractModelMutator
public void postMutate()
ESAbstractModelMutator
postMutate
in class ESAbstractModelMutator
public void mutate(Set<org.eclipse.emf.ecore.EStructuralFeature> ignoredFeatures)
ESAbstractModelMutator
mutate
in class ESAbstractModelMutator
ignoredFeatures
- a set of features to be ignored while mutating
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |