Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
72:phase_freezes_prepare [2019/02/25 16:44] – [Configure Phase Freeze Support in the Metamodel] ext-bkkr72:phase_freezes_prepare [2019/04/26 06:57] – [Configure Phase Freeze Support in the Metamodel] etea
Line 29: Line 29:
 ==== Configure Phase Freeze Support in the Metamodel ==== ==== Configure Phase Freeze Support in the Metamodel ====
  
-Phase Freeze needs to be enabled in the process metamodel in <font inherit/Courier New,Courier,monospace;;inherit;;inherit>PKitProcess</font>.<font inherit/Courier New,Courier,monospace;;inherit;;inherit>xml</font>. There you have to specify which subtypes of which element represent the entity to be frozen (phase root). In a typical case, you want to freeze a phase of your process, but not milestones which are also of type phase. Additionally, a Stages Script file needs to be configured to collect all dependent elements of the frozen phase taht should get frozen when the phase itself is frozen. (See example configuration below)+Phase Freeze needs to be enabled in the process metamodel in <font inherit/Courier New,Courier,monospace;;inherit;;inherit>Process</font>.<font inherit/Courier New,Courier,monospace;;inherit;;inherit>xml</font>. There you have to specify which subtypes of which element represent the entity to be frozen (phase root). In a typical case, you want to freeze a phase of your process, but not milestones which are also of type phase. Additionally, a Stages Script file needs to be configured to collect all dependent elements of the frozen phase taht should get frozen when the phase itself is frozen. (See example configuration below)
  
 <code> <code>
Line 65: Line 65:
  
 <code> <code>
-<font inherit/Courier New,Courier,monospace;;inherit;;inherit>importPackage(Packages.java.util);+importPackage(Packages.java.util);
 importPackage(Packages.de.methodpark.pkit.facade.impl); importPackage(Packages.de.methodpark.pkit.facade.impl);
 +
 function getSelfAndTransitiveChildren(self) { function getSelfAndTransitiveChildren(self) {
 var result = new Array(); var result = new Array();