Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to specify from/to arrays within transitions #28

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Jan 16, 2017

  1. Add ability to specify from/to arrays within transitions

    Previously the state machine machine was able to express multiple source states for a transition, but was unable to define the complete source + transition = destination.
    Consider processing + begin_checkpoint = checkpointing. However, for the begin_checkpoint transition a different destination state must be defined for another source state. E.g. shutting_down + begin_checkpoint = final_checkpointing, etc.
    No backwards campatibilty issues, but now transitions can also have begin_checkpoint => [['from' => ['shutting_down'], 'to'=>'final_checkpointing'], ['from' => ['ready', 'processing'], 'to' => 'checkpointing']]
    Test added.
    5.3 compatibilty maintained.
    RobvH committed Jan 16, 2017
    Configuration menu
    Copy the full SHA
    b39a265 View commit details
    Browse the repository at this point in the history