7bcf168 Accept all possible `state` representation in `transition()` methods.

Authored and Committed by jkaluza 4 years ago
    Accept all possible `state` representation in `transition()` methods.
    
    One can for example pass EventState.COMPLETE, EventState.COMPLETE.value
    or "complete" as a `state` in `transition` method.
    We so far supported just passing the `EventState.COMPLETE.value`, but
    some parts of code used `EventState.COMPLETE`.
    
    In this commit, the `transition` methods are changed to support all
    three ways.
    
        
file modified
+14 -5
file modified
+8 -0
file modified
+1 -1