Using Job class state transition defs