SalesPoint Framework v3.0

Hook: Define a Transition


Requirement

A new transition must be defined as part of a process.

Method of Adaptation
Enable Feature
Level of Support
Parameter Pattern  
HotSpot
Processes
Hooks used
Define a Gate , Select a Transition that changes to a special process gate , Create a transition that just changes to a gate
Participants
Transition, NewTransition , newTransition

Changes

  1. choose: Transition needs to perform some action or just needs to go to some gate?
  2. if transition needs to perform some action:
    1. implement NewTransition of Transition.
    2. NewTransition.perform implements Transition.perform .
    3. NewTransition.perform performs some action making up the transition (e.g. calculate prices, change catalogs/stocks, etc.).
    4. NewTransition.perform returns Define a Gate [newGate].
    5. instance newTransition of NewTransition.
  3. if transition just needs to go to some gate:
    1. choose: Destination gate one of rollback-, commit-, stop-, quit- or log gate of the process the transition will belong to?
    2. if so:
      1. newTransition = Select a Transition that changes to a special process gate [transition].
    3. if not so:
      1. newTransition = Create a transition that just changes to a gate [newTransition].

Constraints

Comments


SalesPoint Framework v3.0