Class ExtractSuggestedService
- java.lang.Object
-
- org.contextmapper.dsl.refactoring.AbstractRefactoring
-
- org.contextmapper.dsl.refactoring.ExtractSuggestedService
-
- All Implemented Interfaces:
SemanticCMLRefactoring
public class ExtractSuggestedService extends AbstractRefactoring implements SemanticCMLRefactoring
This refactoring can be applied after having generated a service cut suggestion with Service Cutter. It allows to extract a suggested service in the original CML model.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
SERVICE_CUTTER_SUGGESTION_FILE_NAME_PATTERN
-
Fields inherited from class org.contextmapper.dsl.refactoring.AbstractRefactoring
additionalResourcesToCheck, consistencyCheckResources, importedResources, model, rootResource
-
-
Constructor Summary
Constructors Constructor Description ExtractSuggestedService(BoundedContext suggestedService, java.lang.String newBoundedContextName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.emf.common.util.URI
constructOriginalModelUri()
protected void
doRefactor()
-
Methods inherited from class org.contextmapper.dsl.refactoring.AbstractRefactoring
addElementsToEList, addElementToEList, getAllBoundedContexts, getAllContextMaps, getAllDomains, getAllUserRequirements, getResource, persistChanges, refactor, refactor, removeElementFromEList
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.contextmapper.dsl.refactoring.SemanticCMLRefactoring
persistChanges, refactor, refactor
-
-
-
-
Constructor Detail
-
ExtractSuggestedService
public ExtractSuggestedService(BoundedContext suggestedService, java.lang.String newBoundedContextName)
-
-
Method Detail
-
doRefactor
protected void doRefactor()
- Specified by:
doRefactor
in classAbstractRefactoring
-
constructOriginalModelUri
public org.eclipse.emf.common.util.URI constructOriginalModelUri()
-
-