Class HistoryValidator
- java.lang.Object
-
- org.eclipse.emf.edapt.history.reconstruction.ReconstructorBase
-
- org.eclipse.emf.edapt.history.reconstruction.HistoryValidator
-
- All Implemented Interfaces:
IReconstructor
public class HistoryValidator extends ReconstructorBase
A reconstructor that follows the history and checks whether changes are breaking- Version:
- $Rev$
- Author:
- herrmama, $Author$
-
-
Constructor Summary
Constructors Constructor Description HistoryValidator()
Default constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
endChange(Change change)
Reconstruction of a change is finishedvoid
init(Mapping mapping, MetamodelExtent extent)
Initialization will be called at the very beginning of reconstructionvoid
startChange(Change originalChange)
Reconstruction of a change startsvoid
startRelease(Release originalRelease)
Reconstruction of a release starts-
Methods inherited from class org.eclipse.emf.edapt.history.reconstruction.ReconstructorBase
endHistory, endRelease, startHistory
-
-
-
-
Method Detail
-
init
public void init(Mapping mapping, MetamodelExtent extent)
Initialization will be called at the very beginning of reconstruction- Specified by:
init
in interfaceIReconstructor
- Overrides:
init
in classReconstructorBase
- Parameters:
mapping
- Mapping from old to new elementsextent
- Extent
-
startRelease
public void startRelease(Release originalRelease)
Reconstruction of a release starts- Specified by:
startRelease
in interfaceIReconstructor
- Overrides:
startRelease
in classReconstructorBase
- Parameters:
originalRelease
- Original release
-
startChange
public void startChange(Change originalChange)
Reconstruction of a change starts- Specified by:
startChange
in interfaceIReconstructor
- Overrides:
startChange
in classReconstructorBase
- Parameters:
originalChange
- Original change
-
endChange
public void endChange(Change change)
Reconstruction of a change is finished- Specified by:
endChange
in interfaceIReconstructor
- Overrides:
endChange
in classReconstructorBase
- Parameters:
change
- Original release
-
-