Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
72:phase_freezes_prepare [2019/02/25 16:44] – [Configure Phase Freeze Support in the Metamodel] ext-bkkr | 72:phase_freezes_prepare [2019/04/26 06:57] – [Configure Phase Freeze Support in the Metamodel] etea |
---|
==== 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> |
| |
<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(); |