aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilippe DUL2018-05-03 04:30:50 -0400
committerPhilippe DUL2018-05-03 04:40:13 -0400
commit22d1e09711aec5b4a96d60b9980a4fc01e0852e2 (patch)
tree1bd19308488c857f834e906bbbb204adb2f8752c
parent5581a3ad4860d7c680ec35d7354d8ec7f189dfc5 (diff)
downloadcapella-sss-transition-v1.1.x.zip
capella-sss-transition-v1.1.x.tar.gz
capella-sss-transition-v1.1.x.tar.bz2
[2058] SubSystem transition doesn't complete - Fix multiphase transitionv1.1.1v1.1.x
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 f169d9a..5763464 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();
+ }
}