public interface ESMutatorConfig
| Modifier and Type | Method and Description |
|---|---|
Collection<org.eclipse.emf.ecore.EClass> |
getEClassesToIgnore()
Returns a collection of
EClasses to be ignored during
object generation. |
Collection<org.eclipse.emf.ecore.EPackage> |
getEPackages()
The EPackages to used during object generation.
|
Collection<org.eclipse.emf.ecore.EStructuralFeature> |
getEStructuralFeaturesToIgnore()
Returns a collection of
EStructuralFeatures to be ignored during object mutation. |
Integer |
getMaxDeleteCount()
Specifies how many objects should be deleted at most?
Only applies to mutation.
|
int |
getMinObjectsCount()
Defines how many objects should be generated.
|
int |
getMutationCount()
Specifies the exact number of mutations to be performed.
|
org.eclipse.emf.ecore.EClass |
getRootEClass()
The
EClass of the root. |
boolean |
isAllowDuplicateIDs()
Whether it is allowed to generate duplicate IDs.
|
boolean |
isDoNotGenerateRoot()
Whether the mutator should generate objects at the root level.
|
boolean |
isIgnoreAndLog()
Determines whether the mutator should ignore and log exception or whether it
should fail with an exception.
|
boolean |
isUseEcoreUtilDelete()
Whether delete mutations should use
EcoreUtil#delete. |
org.eclipse.emf.ecore.EClass getRootEClass()
EClass of the root.EClass of the rootint getMinObjectsCount()
boolean isDoNotGenerateRoot()
true, if the mutator should generate objects on the root level, false otherwiseCollection<org.eclipse.emf.ecore.EClass> getEClassesToIgnore()
EClasses to be ignored during
object generation.EClasses that are ignored during
object generationCollection<org.eclipse.emf.ecore.EStructuralFeature> getEStructuralFeaturesToIgnore()
EStructuralFeatures to be ignored during object mutation.EStructuralFeatures that are ignored during object generationboolean isIgnoreAndLog()
true, if exceptions should only be logged, false otherwiseboolean isUseEcoreUtilDelete()
EcoreUtil#delete.
Note that if this is set to true, that might lead
to bad performance with bigger models.true, if EcoreUtil#delete should be
used to perform delete mutation, false otherwiseInteger getMaxDeleteCount()
Collection<org.eclipse.emf.ecore.EPackage> getEPackages()
EClasses contained in these packages are
considered to used for instantiating objects.EClasses that is considered
during object generationboolean isAllowDuplicateIDs()
true, if duplicate IDs should be allowed, false otherwiseint getMutationCount()
Copyright © 2017. All rights reserved.