aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe DUL2018-05-03 04:30:50 -0400
committerPhilippe DUL2018-11-05 11:19:58 -0500
commit0b45858c09d253a87ef2568120e067ab5950adfd (patch)
treeeb341be764f0a496394da57dacd40a06e8eed3cb
parentea3c6d55eca8f94091fc275d0cb6f89053899d95 (diff)
downloadcapella-sss-transition-0b45858c09d253a87ef2568120e067ab5950adfd.zip
capella-sss-transition-0b45858c09d253a87ef2568120e067ab5950adfd.tar.gz
capella-sss-transition-0b45858c09d253a87ef2568120e067ab5950adfd.tar.bz2
[2058] SubSystem transition doesn't complete - Fix multiphase transition
Bug: 2058 Change-Id: Ia7ccd26d79ec46dd723767a6b518759029ca7dd9 Signed-off-by: Philippe DUL <philippe.dul@thalesgroup.com>
-rw-r--r--plugins/org.polarsys.capella.transition.system2subsystem.multiphases/src/org/polarsys/capella/transition/system2subsystem/multiphases/launcher/AbstractHeadlessMultiphasesLauncher.java10
1 files changed, 10 insertions, 0 deletions
diff --git a/plugins/org.polarsys.capella.transition.system2subsystem.multiphases/src/org/polarsys/capella/transition/system2subsystem/multiphases/launcher/AbstractHeadlessMultiphasesLauncher.java b/plugins/org.polarsys.capella.transition.system2subsystem.multiphases/src/org/polarsys/capella/transition/system2subsystem/multiphases/launcher/AbstractHeadlessMultiphasesLauncher.java
index ea03a04..dbae84b 100644
--- a/plugins/org.polarsys.capella.transition.system2subsystem.multiphases/src/org/polarsys/capella/transition/system2subsystem/multiphases/launcher/AbstractHeadlessMultiphasesLauncher.java
+++ b/plugins/org.polarsys.capella.transition.system2subsystem.multiphases/src/org/polarsys/capella/transition/system2subsystem/multiphases/launcher/AbstractHeadlessMultiphasesLauncher.java
@@ -129,4 +129,14 @@ class AbstractHeadlessMultiphasesLauncher extends SubSystemLauncher {
protected final WorkflowActivityParameter buildDiffMergeActivities() {
return new WorkflowActivityParameter();
}
+
+ /**
+ * Finalization is invoked manually after all phases transitions have been completed, so this
+ * must be overridden to prevent the launch of finalization after a phase transistion
+ * ends.
+ */
+ @Override
+ protected WorkflowActivityParameter buildFinalizationActivities() {
+ return new WorkflowActivityParameter();
+ }
}